mac80211: no need for ht.enabled
We can simply use conf_is_ht() check where needed. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
de27e64e5e
commit
285256a59d
@@ -901,7 +901,6 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
|
||||
|
||||
rcu_read_unlock();
|
||||
|
||||
local->hw.conf.ht.enabled = false;
|
||||
local->oper_channel_type = NL80211_CHAN_NO_HT;
|
||||
config_changed |= IEEE80211_CONF_CHANGE_HT;
|
||||
|
||||
|
Reference in New Issue
Block a user