Wireshark-commits: [Wireshark-commits] rev 43606: /trunk/ /trunk/: ws80211_utils.c ws80211_utils.h

Date: Sun, 08 Jul 2012 01:43:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43606

User: guy
Date: 2012/07/07 06:43 PM

Log:
 Keep the NL80211_CHAN_ and WS80211_CHAN_ values distinct; only the
 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.

Directory: /trunk/
  Changes    Path               Action
  +26 -6     ws80211_utils.c    Modified
  +0 -13     ws80211_utils.h    Modified