]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_common: use allocated key cache entries for multi BSS crypto support
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 May 2010 17:42:45 +0000 (19:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:44 +0000 (14:10 -0400)
commit69dfc81860ec9345809cb153914964ac126d4028
tree74e439849bb490805ebfa799ccc9e05e25e695c9
parentfe01dbc96fa4b326fb07fe69806d744989b899b5
ath9k_common: use allocated key cache entries for multi BSS crypto support

This patch replaces the buggy 'ath9k: Group Key fix for VAPs' change.

For AP mode group keys, use the BSSID as lookup mac address, with
the multicast keysearch bit set.
For IBSS mode, use the peer's MAC address with multicast keysearch.
For STA mode, keep using the group key slots.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c