wl1251: retry power save entry
authorDavid Gnedt <david.gnedt@davizone.at>
Tue, 7 Jan 2014 12:05:45 +0000 (13:05 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Jan 2014 15:53:38 +0000 (10:53 -0500)
commitf7ad1eed4d4b9d5f0b7ada151d5670e7cb33a6e7
treec15725d6f87621d80a9bb90fa62cef24ed75c429
parent64322e28d3f91a196c0e86de2790cdd338a74c28
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>
drivers/net/wireless/ti/wl1251/boot.c
drivers/net/wireless/ti/wl1251/event.c
drivers/net/wireless/ti/wl1251/event.h
drivers/net/wireless/ti/wl1251/main.c
drivers/net/wireless/ti/wl1251/wl1251.h