]> git.karo-electronics.de Git - linux-beck.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)
commit73dc3b90232780462f3771901024a160559b4532
tree283cd3ec2c788578393930b2e439f11e7c19b581
parent6617942e15a16e97a1e2e93cee26f45e26243f43
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