]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: properly track HT operation_mode
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 8 May 2009 19:21:06 +0000 (21:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 May 2009 19:23:57 +0000 (15:23 -0400)
commit6a73d016b8acbc1ae595adfce8fe185782d97c59
tree332bec3cf38b25fba1a712138ea92d83964cf9b9
parent942b933ce8b7375cca3cdf01d283d3b446a1f40a
mac80211: properly track HT operation_mode

When we disassociate, we set the channel to non-HT which
obviously invalidates any ht_operation_mode setting. But
when we then associate with the next AP again, we might
still have the ht_operation_mode from the previous AP
cached and fail to configure the hardware with the new
(but unchanged) operation mode. This patch fixes it by
separately tracking whether our cache is valid.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c