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>
Tento commit je obsažen v:
Arik Nemtsov
2013-03-12 17:19:46 +02:00
odevzdal Luciano Coelho
rodič 75592be5e3
revize abca123782

Zobrazit soubor

@@ -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;
}