diff options
author | Ido Yariv <ido@wizery.com> | 2011-06-06 13:57:05 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-06-27 14:05:15 +0200 |
commit | baacb9aed020b890ddf6a57837a169092a25fc9b (patch) | |
tree | a961d0ce3773f29b419f97715863fea151f3ecf4 /drivers/net/wireless/wl12xx/debugfs.c | |
parent | wl12xx: Check for FW quirks as soon as the FW boots (diff) | |
download | linux-baacb9aed020b890ddf6a57837a169092a25fc9b.tar.xz 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/debugfs.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/debugfs.c b/drivers/net/wireless/wl12xx/debugfs.c index c3f19463474d..da2127018300 100644 --- a/drivers/net/wireless/wl12xx/debugfs.c +++ b/drivers/net/wireless/wl12xx/debugfs.c @@ -306,7 +306,7 @@ static ssize_t start_recovery_write(struct file *file, struct wl1271 *wl = file->private_data; mutex_lock(&wl->mutex); - ieee80211_queue_work(wl->hw, &wl->recovery_work); + wl12xx_queue_recovery_work(wl); mutex_unlock(&wl->mutex); return count; |