]> git.baikalelectronics.ru Git - kernel.git/commit
ath: Copy key cache management functions from ath9k to ath
authorBruno Randolf <br1@einfach.org>
Wed, 8 Sep 2010 07:04:38 +0000 (16:04 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:19:45 +0000 (15:19 -0400)
commit126abfa9e8d77eef90863706dd883e7f4facb985
treeb9a60505fb9f88bac588694be1fd9d5dc7836c61
parentacf3fafdf06d30eb169bdab2417edfb8d8e0edd1
ath: Copy key cache management functions from ath9k to ath

Copied the key cache management functions from ath9k (common.c and hw.c) to
ath/key.c so we can use them from ath5k, later.

Minor changes have been made:
 - renamed ath9k_* to ath_*
 - replaced ah->caps.keycache_size with common->keymax
 - removed ATH9K_IS_MIC_ENABLED since it is always true.
 - the AR_PCU_MIC_NEW_LOC_ENA flag is replaced with (splitmic == 0).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/Makefile
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/key.c [new file with mode: 0644]
drivers/net/wireless/ath/reg.h