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/wl12xx.h | |
parent | 842f1a6c71551ac10fbdff4a4e65821228df9ea7 (diff) | |
download | talos-obmc-linux-baacb9aed020b890ddf6a57837a169092a25fc9b.tar.gz talos-obmc-linux-baacb9aed020b890ddf6a57837a169092a25fc9b.zip |
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/wl12xx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl12xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h index bbf4ee6d4102..754a16ce5bc0 100644 --- a/drivers/net/wireless/wl12xx/wl12xx.h +++ b/drivers/net/wireless/wl12xx/wl12xx.h @@ -361,6 +361,7 @@ enum wl12xx_flags { WL1271_FLAG_PENDING_WORK, WL1271_FLAG_SOFT_GEMINI, WL1271_FLAG_RX_STREAMING_STARTED, + WL1271_FLAG_RECOVERY_IN_PROGRESS, }; struct wl1271_link { @@ -612,6 +613,7 @@ struct wl1271_station { int wl1271_plt_start(struct wl1271 *wl); int wl1271_plt_stop(struct wl1271 *wl); int wl1271_recalc_rx_streaming(struct wl1271 *wl); +void wl12xx_queue_recovery_work(struct wl1271 *wl); #define JOIN_TIMEOUT 5000 /* 5000 milliseconds to join */ |