summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg2013-02-09 21:46:34 +0100
committerJohannes Berg2013-02-11 11:12:26 +0100
commit3d9646d0abd02c552f6f15c302b31aa321c2fa8b (patch)
treee76144304e1cbe85580626355a16e1cf2dcb91d0 /drivers/net/wireless
parentmac80211: fix managed mode channel context use (diff)
downloadkernel-qcow2-linux-3d9646d0abd02c552f6f15c302b31aa321c2fa8b.tar.gz
kernel-qcow2-linux-3d9646d0abd02c552f6f15c302b31aa321c2fa8b.tar.xz
kernel-qcow2-linux-3d9646d0abd02c552f6f15c302b31aa321c2fa8b.zip
mac80211: fix channel selection bug
When trying to connect to an AP that advertises HT but not VHT, the mac80211 code erroneously uses the configuration from the AP as is instead of checking it against regulatory and local capabilities. This can lead to using an invalid or even inexistent channel (like 11/HT40+). Additionally, the return flags from downgrading must be ORed together, to collect them from all of the downgrades. Also clarify the message. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions