diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index ca97b80b2651..2f92ae2f9706 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -390,6 +390,9 @@ static void ieee80211_chswitch_work(struct work_struct *work) | |||
390 | /* call "hw_config" only if doing sw channel switch */ | 390 | /* call "hw_config" only if doing sw channel switch */ |
391 | ieee80211_hw_config(sdata->local, | 391 | ieee80211_hw_config(sdata->local, |
392 | IEEE80211_CONF_CHANGE_CHANNEL); | 392 | IEEE80211_CONF_CHANGE_CHANNEL); |
393 | } else { | ||
394 | /* update the device channel directly */ | ||
395 | sdata->local->hw.conf.channel = sdata->local->oper_channel; | ||
393 | } | 396 | } |
394 | 397 | ||
395 | /* XXX: shouldn't really modify cfg80211-owned data! */ | 398 | /* XXX: shouldn't really modify cfg80211-owned data! */ |