projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/net/wireless/mwifiex/wmm.c
b/drivers/net/wireless/mwifiex/wmm.c
index bc920a5a947cfd040854a5e536216ea8d0496a5d..8a4dd248ff01fe598cefa475251fbcdcc3c78ba3 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;
}