From: Johannes Berg Date: Wed, 31 Jul 2013 18:52:03 +0000 (+0200) Subject: mac80211: continue using disabled channels while connected X-Git-Tag: v3.11-rc6~11^2~35^2^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddfe49b42d8ad4bfdf92d63d4a74f162660d878d;p=pandora-kernel.git 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 Tested-by: Chris Wright Signed-off-by: Johannes Berg --- Reading git-diff-tree failed