projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: remove useless double check for open_count in __ieee80211_suspend()
[firefly-linux-kernel-4.4.55.git]
/
net
/
mac80211
/
pm.c
diff --git
a/net/mac80211/pm.c
b/net/mac80211/pm.c
index bd185f38def147e002b38ff23359e70137d876a3..46ffe3ad7c466c693cdade2cd3a551eb1eb6278b 100644
(file)
--- a/
net/mac80211/pm.c
+++ b/
net/mac80211/pm.c
@@
-59,7
+59,7
@@
int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
cancel_work_sync(&local->dynamic_ps_enable_work);
del_timer_sync(&local->dynamic_ps_timer);
- local->wowlan = wowlan
&& local->open_count
;
+ local->wowlan = wowlan;
if (local->wowlan) {
int err;