diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 286c7ee35e63..92bfedfd3fd2 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -2420,11 +2420,7 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
2420 | 2420 | ||
2421 | /* add back keys */ | 2421 | /* add back keys */ |
2422 | list_for_each_entry(sdata, &local->interfaces, list) | 2422 | list_for_each_entry(sdata, &local->interfaces, list) |
2423 | ieee80211_reset_crypto_tx_tailroom(sdata); | 2423 | ieee80211_reenable_keys(sdata); |
2424 | |||
2425 | list_for_each_entry(sdata, &local->interfaces, list) | ||
2426 | if (ieee80211_sdata_running(sdata)) | ||
2427 | ieee80211_enable_keys(sdata); | ||
2428 | 2424 | ||
2429 | /* Reconfigure sched scan if it was interrupted by FW restart */ | 2425 | /* Reconfigure sched scan if it was interrupted by FW restart */ |
2430 | mutex_lock(&local->mtx); | 2426 | mutex_lock(&local->mtx); |