mac80211: Fix STA disconnect due to MIC failure
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Tue, 30 Nov 2010 14:45:38 +0000 (20:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:45:02 +0000 (13:45 -0500)
commit8e26d5ad2f9c038609d42eebc676cd1107709eef
tree64faf31c3f8dcc4000b06c21a6df147f2f522d18
parent2c31333a8fde7e26936a9f5371d02ff12c490993
mac80211: Fix STA disconnect due to MIC failure

Th commit titled "mac80211: clean up rx handling wrt. found_sta"
removed found_sta variable which caused a MIC failure event
to be reported twice for a single failure to supplicant resulted
in STA disconnect.

This should fix WPA specific countermeasures WiFi test case (5.2.17)
issues with mac80211 based drivers which report MIC failure events in
rx status.

Cc: Stable <stable@kernel.org> (2.6.37)
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c