aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-06-29 15:24:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-29 15:24:05 -0400
commitf35376a44f7655bcb9a9abea1fbffcde1b80be55 (patch)
treed1d2427de9183f462b2cdb35f2d06893af3a7aaa
parent99aeed9cde404365f9f72da25518068cbbc40b89 (diff)
ath9k: make ath9k_hw_keysetmac static
Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 9d22444dd456..6e87af42b30a 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1498,7 +1498,7 @@ bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry)
1498} 1498}
1499EXPORT_SYMBOL(ath9k_hw_keyreset); 1499EXPORT_SYMBOL(ath9k_hw_keyreset);
1500 1500
1501bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac) 1501static bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac)
1502{ 1502{
1503 u32 macHi, macLo; 1503 u32 macHi, macLo;
1504 u32 unicast_flag = AR_KEYTABLE_VALID; 1504 u32 unicast_flag = AR_KEYTABLE_VALID;
@@ -1536,7 +1536,6 @@ bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac)
1536 1536
1537 return true; 1537 return true;
1538} 1538}
1539EXPORT_SYMBOL(ath9k_hw_keysetmac);
1540 1539
1541bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry, 1540bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry,
1542 const struct ath9k_keyval *k, 1541 const struct ath9k_keyval *k,
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index f0e0cc9a9d78..bb99e2e1f943 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -859,7 +859,6 @@ u32 ath9k_regd_get_ctl(struct ath_regulatory *reg, struct ath9k_channel *chan);
859 859
860/* Key Cache Management */ 860/* Key Cache Management */
861bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry); 861bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry);
862bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac);
863bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry, 862bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry,
864 const struct ath9k_keyval *k, 863 const struct ath9k_keyval *k,
865 const u8 *mac); 864 const u8 *mac);