]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix hw crypto configuration for TKIP in AP mode
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 26 Feb 2009 09:18:46 +0000 (11:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:31 +0000 (14:39 -0500)
commitc8dfcd52c3b365db2d0384155a70ef8f98ec3519
tree6659f9fe8abf6514d07ed70a9018207080daf74a
parent287b86da110b9ce64edbf25cc4dbf5abcc56ff08
ath9k: Fix hw crypto configuration for TKIP in AP mode

Incorrect Michael MIC key (RX, should have been TX) was set for the
group key in AP mode. This resulted in all broadcast frames triggering
Michael MIC errors and eventual TKIP countermeasures. The change here
sets the correct Michael MIC key based on whether the local end is the
authenticator (well, AP for now).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Tested-by: Pat Erley <pat-lkml@erley.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c