diff options
author | Eliad Peller <eliad@wizery.com> | 2011-06-06 05:21:55 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-06-27 06:35:53 -0400 |
commit | 6bb043321569ac356c790a8d3bd759742e1f9352 (patch) | |
tree | e02ff4f1e09d70a78cecbb1136408c0a3fde5272 /drivers/net/wireless/wl12xx/wl12xx.h | |
parent | 8a7cf3febbb2b7c1ade717ddb3065de67c5983c5 (diff) |
wl12xx_sdio: enable wowlan only if enable_irq_wake() succeeded
Some platforms don't support the wake_irq, so disable wowlan
in this case, and avoid the "Unbalanced IRQ wake disable"
warning on disable_irq_wake().
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl12xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h index 8d6c8f258413..145a14c22583 100644 --- a/drivers/net/wireless/wl12xx/wl12xx.h +++ b/drivers/net/wireless/wl12xx/wl12xx.h | |||
@@ -580,6 +580,7 @@ struct wl1271 { | |||
580 | * (currently, only "ANY" trigger is supported) | 580 | * (currently, only "ANY" trigger is supported) |
581 | */ | 581 | */ |
582 | bool wow_enabled; | 582 | bool wow_enabled; |
583 | bool irq_wake_enabled; | ||
583 | 584 | ||
584 | /* | 585 | /* |
585 | * AP-mode - links indexed by HLID. The global and broadcast links | 586 | * AP-mode - links indexed by HLID. The global and broadcast links |