]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix key cache slot selection for splitmic
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 18 Dec 2008 12:31:10 +0000 (14:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:51 +0000 (15:23 -0500)
commite6a956fb670445f41c5504c401f80f55ad06fba0
tree060d42f09c3d5ae237423b2504c082cceee8d8dd
parent67fdb59624e343fc138f8884db75e10662db928b
ath9k: Fix key cache slot selection for splitmic

ath_reserve_key_cache_slot() was obviously supposed to return an index
to a free slot, not reserved one. This could have caused problems with
hardware revisions that use splitmic.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c