aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-12-23 18:58:45 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:32 -0500
commit285256a59d790c6a9afe8ec82804a369d956ac06 (patch)
tree679c78347f255f3a1e198c2cbba98463a99185e5 /net/mac80211/mlme.c
parentde27e64e5eb72ff3edcaf5edce2f306ada1f094d (diff)
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>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 599a42172a16..12976026cc45 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -901,7 +901,6 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
901 901
902 rcu_read_unlock(); 902 rcu_read_unlock();
903 903
904 local->hw.conf.ht.enabled = false;
905 local->oper_channel_type = NL80211_CHAN_NO_HT; 904 local->oper_channel_type = NL80211_CHAN_NO_HT;
906 config_changed |= IEEE80211_CONF_CHANGE_HT; 905 config_changed |= IEEE80211_CONF_CHANGE_HT;
907 906