summaryrefslogtreecommitdiff
path: root/net/mac802154
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2018-02-19 15:48:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-30 08:50:28 +0300
commitd6114a6884d902029b2938c35d43d8f36b73b101 (patch)
treefabdd7d900f4516a6982c4b05aded40f93f72a57 /net/mac802154
parent31155ee44dd94f379532a446b078175289e8c3ff (diff)
downloadlinux-d6114a6884d902029b2938c35d43d8f36b73b101.tar.xz
mac80211: Do not disconnect on invalid operating class
[ Upstream commit 191da271ac260700db3e5b4bb982a17ca78769d6 ] Some APs include a non global operating class in their extended channel switch information element. In such a case, as the operating class is not known, mac80211 would decide to disconnect. However the specification states that the operating class needs to be taken from Annex E, but it does not specify from which table it should be taken, so it is valid for an AP to use a non global operating class. To avoid possibly unneeded disconnection, in such a case ignore the operating class and assume that the current band is used, and if the resulting channel and band configuration is invalid disconnect. Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions