mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
mac80211: do not queue work after suspend in the dynamic ps timer
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
082e708acc
commit
78f1a8b758
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ void ieee80211_dynamic_ps_timer(unsigned long data)
|
||||||
{
|
{
|
||||||
struct ieee80211_local *local = (void *) data;
|
struct ieee80211_local *local = (void *) data;
|
||||||
|
|
||||||
if (local->quiescing)
|
if (local->quiescing || local->suspended)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
queue_work(local->hw.workqueue, &local->dynamic_ps_enable_work);
|
queue_work(local->hw.workqueue, &local->dynamic_ps_enable_work);
|
||||||
|
|
Loading…
Reference in a new issue