projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: remove useless open_count check
[cascardo/linux.git]
/
net
/
mac80211
/
pm.c
diff --git
a/net/mac80211/pm.c
b/net/mac80211/pm.c
index
00a43a7
..
28a3a09
100644
(file)
--- a/
net/mac80211/pm.c
+++ b/
net/mac80211/pm.c
@@
-178,8
+178,7
@@
int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
WARN_ON(!list_empty(&local->chanctx_list));
/* stop hardware - this must stop RX */
- if (local->open_count)
- ieee80211_stop_device(local);
+ ieee80211_stop_device(local);
suspend:
local->suspended = true;