]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:21 +0000 (13:58 -0800)
commita7d44afb17b90f24f54ed42fa06da098f8ece530
tree2e834fb1fcc0cb8350bf8ab14517673983bb970a
parent9d80540c4953d10835f72031fb99395a96f48fae
ath9k: Fix STA disconnect issue due to received MIC failed bcast frames

commit 916448e77f6bcaaa7f13c3de0c3851783ae2bfd0 upstream.

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.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/recv.c