From: Arik Nemtsov Date: Thu, 7 Jul 2011 11:25:23 +0000 (+0300) Subject: wl12xx: start/stop queues according to global per-AC counters X-Git-Tag: v3.1-rc1~316^2~124^2^2~105^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a46384ad568f72c11edbe2a3ec284bf32f2dbd;p=pandora-kernel.git wl12xx: start/stop queues according to global per-AC counters Split tx_queue_count to count per-AC skb's queued, instead of relying on the skb-queue len. The skb queues used were only valid in STA-mode, as AP-mode uses per-link queues. This fixes a major regression in AP-mode, caused by the patch "wl12xx: implement Tx watermarks per AC". With that patch applied, we effectively had no regulation of Tx queues in AP-mode. Therefore a sustained high rate of Tx could cause exhaustion of the skb memory pool. Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed