]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mac80211: continue using disabled channels while connected
authorJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 18:52:03 +0000 (20:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 19:18:17 +0000 (21:18 +0200)
commitddfe49b42d8ad4bfdf92d63d4a74f162660d878d
tree825625c7353a7af610bd977564ca13457f4ce4b5
parent74418edec915d0f446debebde08d170c7b8ba0ee
mac80211: continue using disabled channels while connected

In case the AP has different regulatory information than we do,
it can happen that we connect to an AP based on e.g. the world
roaming regulatory data, and then update our database with the
AP's country information disables the channel the AP is using.
If this happens on an HT AP, the bandwidth tracking code will
hit the WARN_ON() and disconnect. Since that's not very useful,
ignore the channel-disable flag in bandwidth tracking.

Cc: stable@vger.kernel.org
Reported-by: Chris Wright <chrisw@sous-sol.org>
Tested-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c