diff options
author | Ido Yariv <ido@wizery.com> | 2011-06-06 14:57:05 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-06-27 15:05:15 +0300 |
commit | baacb9aed020b890ddf6a57837a169092a25fc9b (patch) | |
tree | a961d0ce3773f29b419f97715863fea151f3ecf4 /drivers/net/wireless/wl12xx/ps.c | |
parent | 842f1a6c71551ac10fbdff4a4e65821228df9ea7 (diff) | |
download | linux-baacb9aed020b890ddf6a57837a169092a25fc9b.tar.gz linux-baacb9aed020b890ddf6a57837a169092a25fc9b.tar.xz |
wl12xx: Avoid recovery while one is already in progress
During recovery work commands sent to the FW could fail and schedule
additional recovery work. Since the chip is going to be powered off,
avoid recursive recoveries.
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/ps.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/ps.c b/drivers/net/wireless/wl12xx/ps.c index 5116db0826f9..3e68a664c9de 100644 --- a/drivers/net/wireless/wl12xx/ps.c +++ b/drivers/net/wireless/wl12xx/ps.c @@ -118,7 +118,7 @@ int wl1271_ps_elp_wakeup(struct wl1271 *wl) &compl, msecs_to_jiffies(WL1271_WAKEUP_TIMEOUT)); if (ret == 0) { wl1271_error("ELP wakeup timeout!"); - ieee80211_queue_work(wl->hw, &wl->recovery_work); + wl12xx_queue_recovery_work(wl); ret = -ETIMEDOUT; goto err; } else if (ret < 0) { |