mac80211: fix managed mode channel context use
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Feb 2013 19:54:51 +0000 (20:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Feb 2013 19:56:01 +0000 (20:56 +0100)
commitd601cd8d950c85032cefdcda162b8cd2cda363bb
tree82b15f2a30749369f7f08c5ec87261567ea30b35
parent9887dbf5b2163bcf69cd4456c21352e9a81c6003
mac80211: fix managed mode channel context use

My commit f2d9d270c15ae0139b54a7e7466d738327e97e03
("mac80211: support VHT association") introduced a
very stupid bug: the loop to downgrade the channel
width never attempted to actually use it again so
it would downgrade all the way to 20_NOHT. Fix it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c