diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-26 14:31:19 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-20 14:13:43 +0200 |
commit | 4797c7ba93e4049cdda18045c01bbe563aafff69 (patch) | |
tree | 405d1a9c9571f0435eec8b67e3bc7deb72f68a68 /net/mac80211/cfg.c | |
parent | mac80211: don't assume channel is set in tracing (diff) | |
download | linux-4797c7ba93e4049cdda18045c01bbe563aafff69.tar.xz linux-4797c7ba93e4049cdda18045c01bbe563aafff69.zip |
mac80211: use RX status band instead of current band
Even for single-channel devices it is possible that we
switch the channel temporarily (e.g. for scanning) but
while doing so process a received frame that was still
received on the old channel, so checking the current
band is racy. Use the band from status instead.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions