mwifiex: check mwifiex_wmm_lists_empty() before dequeue
authorMarc Yang <yangyang@marvell.com>
Tue, 17 May 2011 02:17:51 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:53:56 +0000 (13:53 -0400)
commit93968147874508e6dd534af1e236a7353269da3f
treed07092c9b72c3c45cca6950ce2980c1267d78e0d
parent49729ff616547d7abcb96924d14aa860320e7352
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>
drivers/net/wireless/mwifiex/wmm.c