OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6ee91
)
mwifiex: block data traffic to tx paused receive address
author
Xinming Hu
<huxm@marvell.com>
Mon, 22 Jun 2015 13:36:08 +0000
(19:06 +0530)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:40:13 +0000
(16:40 +0300)
Data traffic to tx paused receive address should be blocked.
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
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
bc920a5
..
8a4dd24
100644
(file)
--- a/
drivers/net/wireless/mwifiex/wmm.c
+++ b/
drivers/net/wireless/mwifiex/wmm.c
@@
-1025,7
+1025,8
@@
mwifiex_wmm_get_highest_priolist_ptr(struct mwifiex_adapter *adapter,
list_for_each_entry(ptr, &tid_ptr->ra_list,
list) {
- if (!skb_queue_empty(&ptr->skb_head))
+ if (!ptr->tx_paused &&
+ !skb_queue_empty(&ptr->skb_head))
/* holds both locks */
goto found;
}