projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49729ff
)
mwifiex: check mwifiex_wmm_lists_empty() before dequeue
author
Marc Yang
<yangyang@marvell.com>
Tue, 17 May 2011 02:17:51 +0000
(19:17 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 19 May 2011 17:53:56 +0000
(13:53 -0400)
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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/wmm.c
b/drivers/net/wireless/mwifiex/wmm.c
index f3d5f23c91d1d60642fb8dd265c0424a94bd96ab..784ad4c00995e90deba7297bda6738342efae0d9 100644
(file)
--- 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)
if (mwifiex_dequeue_tx_packet(adapter))
break;
- } while (
true
);
+ } while (
!mwifiex_wmm_lists_empty(adapter)
);
}