]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix STA disconnect issue due to received MIC failed bcast frames
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Tue, 30 Nov 2010 14:45:39 +0000 (20:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:45:02 +0000 (13:45 -0500)
commitd1ffe4f49d914928878c2580fa18eed6e81de123
tree8c58a26a5a02eb44260b4fbcda4a697f6981bbe0
parent65c94024eedb1c6103f912894594d1cd454bd306
ath9k: Fix STA disconnect issue due to received MIC failed bcast frames

AR_RxKeyIdxValid will not be set for bcast/mcast frames and so relying
this status for MIC failed frames is buggy.

Due to this, MIC failure events for broadcast frames are not sent to
supplicant resulted in AP disconnecting the STA.

Able to pass Wifi Test case 5.2.18 with this fix.

Cc: Stable <stable@kernel.org> (2.6.36+)
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/recv.c