aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarc Yang <yangyang@marvell.com>2011-05-16 22:17:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-19 13:53:56 -0400
commit93968147874508e6dd534af1e236a7353269da3f (patch)
treed07092c9b72c3c45cca6950ce2980c1267d78e0d /drivers
parent49729ff616547d7abcb96924d14aa860320e7352 (diff)
mwifiex: check mwifiex_wmm_lists_empty() before dequeue
add checks to mwifiex_wmm_process_tx() loop so it doesn't re-enter mwifiex_dequeue_tx_packet() to find it can't send. Signed-off-by: Marc Yang <yangyang@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/mwifiex/wmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/wmm.c b/drivers/net/wireless/mwifiex/wmm.c
index f3d5f23c91d1..784ad4c00995 100644
--- a/drivers/net/wireless/mwifiex/wmm.c
+++ b/drivers/net/wireless/mwifiex/wmm.c
@@ -1254,5 +1254,5 @@ mwifiex_wmm_process_tx(struct mwifiex_adapter *adapter)
1254 1254
1255 if (mwifiex_dequeue_tx_packet(adapter)) 1255 if (mwifiex_dequeue_tx_packet(adapter))
1256 break; 1256 break;
1257 } while (true); 1257 } while (!mwifiex_wmm_lists_empty(adapter));
1258} 1258}