]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath9k: Fix STA disconnect issue due to received MIC failed bcast frames
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Mon, 6 Dec 2010 13:39:27 +0000 (19:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 19:57:05 +0000 (14:57 -0500)
commit38852b20c8b6d97618204ac64abbf14f0080393e
tree9812d24b7f306620d7884cd28a4ff20af4a33451
parent080e1a259acea10b6df8e2a8e49b47481940220a
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