]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: clean up ieee80211_set_channel
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 21:50:15 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:32:15 +0000 (15:32 -0400)
commitabf04cf6022e86938d7ca0a3f6461a3fab5ac76d
tree55386fef484641e65ab1c6967683aa5c0355c33b
parent48f95b4f779d0076d3ffd7c9e130b35cec8f72a4
mac80211: clean up ieee80211_set_channel

There's no need for ieee80211_set_channel to check
whether a change in configuration happened since
ieee80211_hw_config() auto-detects it.

Additionally, it's wrong to pretend the HT config
for the BSS changed, it didn't, the BSS can't be
up & running (AP beaconing etc.) when the channel
type is changed anyway.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c