summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2013-03-12 17:19:46 +0200
committerLuciano Coelho <coelho@ti.com>2013-03-25 12:33:13 +0200
commitabca1237820a7d9a087b2744a2abd1026364d7b7 (patch)
tree242a574122d37637637b95a7f5fb8c0a5f7e702a /drivers/net/wireless
parent75592be5e35b31eb28dacf578cfe82f0e9bc0ac0 (diff)
downloadop-kernel-dev-abca1237820a7d9a087b2744a2abd1026364d7b7.zip
op-kernel-dev-abca1237820a7d9a087b2744a2abd1026364d7b7.tar.gz
wlcore: consider dummy packets when tx queues are empty
Don't ignore dummy packets when our queues are empty. This causes dummy packets never to be sent when traffic is not suspended by FW thresholds, which happens only in high Tx throughput situations. This may hurt Rx performance. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ti/wlcore/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c
index 85003c0..004d02e 100644
--- a/drivers/net/wireless/ti/wlcore/tx.c
+++ b/drivers/net/wireless/ti/wlcore/tx.c
@@ -644,6 +644,7 @@ next:
}
+out:
if (!skb &&
test_and_clear_bit(WL1271_FLAG_DUMMY_PACKET_PENDING, &wl->flags)) {
int q;
@@ -657,7 +658,6 @@ next:
spin_unlock_irqrestore(&wl->wl_lock, flags);
}
-out:
return skb;
}
OpenPOWER on IntegriCloud