]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit3f53dd64f192450cb331c0fecfc26ca952fb242f
tree6659f9fe8abf6514d07ed70a9018207080daf74a
parent998a5a7d6aabe7e450759e0d82c8a79afd5a97ff
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