ath9k: Fix tx struck state with paprd
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 21 Sep 2010 05:54:46 +0000 (22:54 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Sep 2010 19:54:31 +0000 (15:54 -0400)
commit9094537c3a9ef9e127e844254a74186735c9a90b
tree22152ac2014faba77fc4def307deedf35d13d389
parenteb7d3066cf864342e8ae6a5c1126a1602c4d06c0
ath9k: Fix tx struck state with paprd

Paprd needs to be done only on active chains(not for all the chains
that hw can support). The paprd training frames which are sent
for inactive chains would be hanging on the hw queue without
getting transmitted and would make the connection so unstable.
This issue happens only with the hw which supports paprd cal(ar9003).

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c