aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 1a511afbdf07..84858a14c8bf 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1599,8 +1599,10 @@ int ieee80211_reconfig(struct ieee80211_local *local)
1599 * If this is for hw restart things are still running. 1599 * If this is for hw restart things are still running.
1600 * We may want to change that later, however. 1600 * We may want to change that later, however.
1601 */ 1601 */
1602 if (!local->suspended) 1602 if (!local->suspended) {
1603 drv_restart_complete(local);
1603 return 0; 1604 return 0;
1605 }
1604 1606
1605#ifdef CONFIG_PM 1607#ifdef CONFIG_PM
1606 /* first set suspended false, then resuming */ 1608 /* first set suspended false, then resuming */