diff options
author | Victor Goldenshtein <victorg@ti.com> | 2012-11-27 08:44:52 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-05 09:41:47 +0200 |
commit | 4c145185175dcca660265d2fcdd4feffc0249f8e (patch) | |
tree | 0f7e1f083bd23510eae973643a897f67fad14218 /drivers/net/wireless/ti | |
parent | 0330ee1f5bb65bd2fd3c4b3980f4ba999405a153 (diff) | |
download | linux-4c145185175dcca660265d2fcdd4feffc0249f8e.tar.gz linux-4c145185175dcca660265d2fcdd4feffc0249f8e.tar.bz2 linux-4c145185175dcca660265d2fcdd4feffc0249f8e.zip |
wlcore: remove unnecessary WARN_ON in wl12xx_tx_reset
Sometimes the driver can perform a recovery while Tx is
active, this will trigger unnecessary warning which might
delay the recovery for more than 100 mS.
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c index c3607f09284b..b5b9bd6d4f06 100644 --- a/drivers/net/wireless/ti/wlcore/tx.c +++ b/drivers/net/wireless/ti/wlcore/tx.c @@ -1028,7 +1028,7 @@ void wl12xx_tx_reset(struct wl1271 *wl) struct ieee80211_tx_info *info; /* only reset the queues if something bad happened */ - if (WARN_ON_ONCE(wl1271_tx_total_queue_count(wl) != 0)) { + if (wl1271_tx_total_queue_count(wl) != 0) { for (i = 0; i < WL12XX_MAX_LINKS; i++) wl1271_tx_reset_link_queues(wl, i); |