diff options
Diffstat (limited to 'net/mac80211/pm.c')
-rw-r--r-- | net/mac80211/pm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c index ef8eba1d736d..af1c4e26e965 100644 --- a/net/mac80211/pm.c +++ b/net/mac80211/pm.c | |||
@@ -127,6 +127,10 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) | |||
127 | drv_remove_interface(local, sdata); | 127 | drv_remove_interface(local, sdata); |
128 | } | 128 | } |
129 | 129 | ||
130 | sdata = rtnl_dereference(local->monitor_sdata); | ||
131 | if (sdata) | ||
132 | drv_remove_interface(local, sdata); | ||
133 | |||
130 | /* stop hardware - this must stop RX */ | 134 | /* stop hardware - this must stop RX */ |
131 | if (local->open_count) | 135 | if (local->open_count) |
132 | ieee80211_stop_device(local); | 136 | ieee80211_stop_device(local); |