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)
commit9e0d087ad970b37a65686b8ca2f27c7a1c254420
tree22152ac2014faba77fc4def307deedf35d13d389
parentf85eb78a6b9e037232ea6bd82bc3f466647eb80d
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