diff options
author | David Gnedt <david.gnedt@davizone.at> | 2014-01-07 16:05:45 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-09 19:53:38 +0400 |
commit | f7ad1eed4d4b9d5f0b7ada151d5670e7cb33a6e7 (patch) | |
tree | c15725d6f87621d80a9bb90fa62cef24ed75c429 /drivers/net/wireless/ti/wl1251/boot.c | |
parent | 64322e28d3f91a196c0e86de2790cdd338a74c28 (diff) | |
download | linux-f7ad1eed4d4b9d5f0b7ada151d5670e7cb33a6e7.tar.xz |
wl1251: retry power save entry
Port of the power save entry retry code from wl1251 driver version included
in the Maemo Fremantle kernel.
This tries to enable power save mode up to 3 times before failing.
Signed-off-by: David Gnedt <david.gnedt@davizone.at>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/boot.c')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/boot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/boot.c b/drivers/net/wireless/ti/wl1251/boot.c index a2e5241382da..2000cd536077 100644 --- a/drivers/net/wireless/ti/wl1251/boot.c +++ b/drivers/net/wireless/ti/wl1251/boot.c @@ -299,7 +299,8 @@ int wl1251_boot_run_firmware(struct wl1251 *wl) ROAMING_TRIGGER_LOW_RSSI_EVENT_ID | ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID | REGAINED_BSS_EVENT_ID | BT_PTA_SENSE_EVENT_ID | - BT_PTA_PREDICTION_EVENT_ID | JOIN_EVENT_COMPLETE_ID; + BT_PTA_PREDICTION_EVENT_ID | JOIN_EVENT_COMPLETE_ID | + PS_REPORT_EVENT_ID; ret = wl1251_event_unmask(wl); if (ret < 0) { |