ath9k: don't strip mic on non-encrypted frames in tkip
authorMichael Liang <mliang@qca.qualcomm.com>
Fri, 20 Apr 2012 09:11:57 +0000 (17:11 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:35:33 +0000 (15:35 -0400)
commit2a5783b817c90ce6fb82a21e103335d1ecbac430
tree2b355c1bb499d9e973152e1d0b2f105493e6c0fc
parente0602750ab028780962a1e4bb3f3705433a18c97
ath9k: don't strip mic on non-encrypted frames in tkip

Fix the following bug: in tkip mode, qos-null ps on/off packets
are dropped due to incorrect packet length so that ath9k softap
can't handle powersave state transition of peer STA correctly.

Signed-off-by: Michael Liang <mliang@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c