aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 8b6daf0219f4..8c9f1c722cdb 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -964,5 +964,6 @@ void ieee80211_recalc_idle(struct ieee80211_local *local)
964 mutex_lock(&local->iflist_mtx); 964 mutex_lock(&local->iflist_mtx);
965 chg = __ieee80211_recalc_idle(local); 965 chg = __ieee80211_recalc_idle(local);
966 mutex_unlock(&local->iflist_mtx); 966 mutex_unlock(&local->iflist_mtx);
967 ieee80211_hw_config(local, chg); 967 if (chg)
968 ieee80211_hw_config(local, chg);
968} 969}