Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir
Date: Sat, 7 Jul 2012 21:33:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #48 from Guy Harris <guy@xxxxxxxxxxxx> 2012-07-07 21:33:34 PDT ---
(In reply to comment #44)
> OK, I don't compile in the code to set the channel type, or to supply channel
> types other than "no HT", if NL80211_BAND_ATTR_HT_CAPA isn't defined.  (It
> *looks* as if nl80211.h defines NL80211_BAND_ATTR_HT_CAPA as a member of an
> enum *and* as a #define, at least in the kernels I've looked at, so we can test
> for it with #ifdef - perhaps that's *why* it's #defined.)

Exactly:

    http://www.spinics.net/lists/linux-wireless/msg22017.html

"> Well, it looks a little useless to define something as itself...

Yeah but you can use that to check "has the nl80211.h I'm compiling
against defined the HT stuff yet?""

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.