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)
commit8a2ac260bb89dc34bd31d694e885164a3b78c4d9
tree55386fef484641e65ab1c6967683aa5c0355c33b
parent9dde64232586bd35c8454615266d209106b73c0f
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