|
Linux version of the platform-dependent 802.11 stuff should use the
NL80211_CHAN_ stuff. Map from the WS80211_CHAN_ values to the
corresponding NL80211_CHAN_ values in ws80211_set_freq(), and have the
channel_types bitset use bits indexed by WS80211_CHAN_ values rather
than NL80211_CHAN_.
This won't fix the problem of building this on Linuxes with old
nl80211.h headers that lack NL80211_CHAN_, but it narrows the set of
code that needs the NL80211_CHAN_ values, perhaps allowing the fix to be
a bit cleaner, as well as making it easier to make this work on
platforms other than Linux.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43606 f5534014-38df-0310-8fa8-9805f1628bb7
|