aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-05-13 04:57:08 -0400
committerLuciano Coelho <coelho@ti.com>2011-05-13 07:55:48 -0400
commit2c0f24636c80aa09990c507c0cede39add4b4724 (patch)
tree6627263a6f4383f577ad83f4c1a5d8e66d2243c0 /drivers/net
parentfe44870bcdf614e4abb35657c68081cda35ba741 (diff)
wl12xx_sdio: set interrupt as wake_up interrupt
set the sdio interrupt as wake_up interrupt, so we will be able to wake up the suspended system (Wake-On-Wireless) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/wl12xx/sdio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/sdio.c b/drivers/net/wireless/wl12xx/sdio.c
index bcd4ad7ba90..1298461c45d 100644
--- a/drivers/net/wireless/wl12xx/sdio.c
+++ b/drivers/net/wireless/wl12xx/sdio.c
@@ -267,6 +267,8 @@ static int __devinit wl1271_probe(struct sdio_func *func,
267 goto out_free; 267 goto out_free;
268 } 268 }
269 269
270 enable_irq_wake(wl->irq);
271
270 disable_irq(wl->irq); 272 disable_irq(wl->irq);
271 273
272 ret = wl1271_init_ieee80211(wl); 274 ret = wl1271_init_ieee80211(wl);
@@ -303,6 +305,7 @@ static void __devexit wl1271_remove(struct sdio_func *func)
303 pm_runtime_get_noresume(&func->dev); 305 pm_runtime_get_noresume(&func->dev);
304 306
305 wl1271_unregister_hw(wl); 307 wl1271_unregister_hw(wl);
308 disable_irq_wake(wl->irq);
306 free_irq(wl->irq, wl); 309 free_irq(wl->irq, wl);
307 wl1271_free_hw(wl); 310 wl1271_free_hw(wl);
308} 311}