OSDN Git Service

mac80211: fix ignored HT/VHT override configs
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Mon, 20 Apr 2015 19:51:46 +0000 (22:51 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2015 10:23:35 +0000 (12:23 +0200)
commitc1041f109a788fbc45197c38aed4c46e580d9d5f
tree03da71da51c8b3e76b68398505f6acbd84f8e8fe
parent4292504044a4fd4c5d9155dcb5c7b09ed6cbf611
mac80211: fix ignored HT/VHT override configs

HT and VHT override configurations were ignored during association and
applied only when first beacon recived, or not applied at all.

Fix the code to apply HT/VHT overrides during association. This is a bit
tricky since the channel was already configured during authentication
and we don't want to reconfigure it unless there's really a change.

Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c