]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix uAP TX packet timeout issue
authorAvinash Patil <patila@marvell.com>
Fri, 15 Jun 2012 23:21:53 +0000 (16:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jun 2012 18:56:25 +0000 (14:56 -0400)
commit5da42ddcbe77060ac133f065f847796d5adb048f
tree283cd3ec2c788578393930b2e439f11e7c19b581
parent59b46530cecb12d287f8d6378f099f81a2d8a629
mwifiex: fix uAP TX packet timeout issue

When running heavy traffic we stop the tx queue if the pending
packet count reaches certain threshold. Later, the tx queue should
be woken up as soon as the packet count falls below the threshold.

Current code wakes TX queue up on STA interface only. Removing the
check for STA interface will allow both STA and AP interfaces to
resume transmit when tx_pending count becomes low.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/txrx.c