Skip to content

Commit

Permalink
wl18xx: set WIPHY_WOWLAN_ANY for IBI as well
Browse files Browse the repository at this point in the history
Allow configuring wowlan (and define the device as wakeup
source) also when working with IBI.

Signed-off-by: Eliad Peller <eliad@wizery.com>
  • Loading branch information
elp committed Dec 14, 2011
1 parent 166d728 commit 73e7e94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/net/wireless/wl12xx/sdio.c
Expand Up @@ -379,6 +379,10 @@ static int __devinit wl1271_probe(struct sdio_func *func,
}
}
disable_irq(wl->irq);
} else {
wl->irq_wake_enabled = true;
device_init_wakeup(wl1271_sdio_wl_to_dev(wl), 1);
hw->wiphy->wowlan.flags = WIPHY_WOWLAN_ANY;
}

ret = wl1271_init_ieee80211(wl);
Expand Down Expand Up @@ -460,7 +464,6 @@ static int wl1271_suspend(struct device *dev)
static int wl1271_resume(struct device *dev)
{
struct sdio_func *func = dev_to_sdio_func(dev);
struct wl1271 *wl = sdio_get_drvdata(func);

wl1271_debug(DEBUG_MAC80211, "wl1271 resume");
return 0;
Expand Down

0 comments on commit 73e7e94

Please sign in to comment.