summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-05-03 09:35:35 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-05-16 22:38:04 +0200
commit3670946fe2e942bcb09ec9bbc587bf305f9f97da (patch)
tree4ee38fe0899a636d991ac704fec207de1b90f039 /net/mac80211/rate.c
parentb8360ab8d2caf8a4d0d95bc03f0ba6956459505f (diff)
downloadlinux-stable-3670946fe2e942bcb09ec9bbc587bf305f9f97da.tar.gz
linux-stable-3670946fe2e942bcb09ec9bbc587bf305f9f97da.tar.bz2
linux-stable-3670946fe2e942bcb09ec9bbc587bf305f9f97da.zip
mac80211: fix HT beacon-based channel switch handling
When an HT AP is advertising channel switch in a beacon, it doesn't (and shouldn't, according to 802.11-2012 Table 8-20) include a secondary channel offset element. The only possible interpretation is that the previous secondary channel offset remains valid, so use that when switching channel based only on beacon information. VHT requires the Wide Bandwidth Channel Switch subelement to be present in the Channel Switch Wrapper element, so the code for that is probably ok (see 802.11ac Draft 4, 8.4.2.165.) Reported-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rate.c')
0 files changed, 0 insertions, 0 deletions