]> git.karo-electronics.de Git - mv-sheeva.git/commit
wl12xx_sdio: enable wowlan only if enable_irq_wake() succeeded
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 09:21:55 +0000 (12:21 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:35:53 +0000 (13:35 +0300)
commit6bb043321569ac356c790a8d3bd759742e1f9352
treee02ff4f1e09d70a78cecbb1136408c0a3fde5272
parent8a7cf3febbb2b7c1ade717ddb3065de67c5983c5
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>
drivers/net/wireless/wl12xx/sdio.c
drivers/net/wireless/wl12xx/wl12xx.h