Commit a3685d11 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath: make ath_hw_keysetmac() static

This fixes this sparse warning:

  CHECK   drivers/net/wireless/ath/key.c
drivers/net/wireless/ath/key.c:70:6: warning: symbol 'ath_hw_keysetmac' was not declared. Should it be static?
Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent babcbc29
...@@ -67,7 +67,8 @@ bool ath_hw_keyreset(struct ath_common *common, u16 entry) ...@@ -67,7 +67,8 @@ bool ath_hw_keyreset(struct ath_common *common, u16 entry)
} }
EXPORT_SYMBOL(ath_hw_keyreset); EXPORT_SYMBOL(ath_hw_keyreset);
bool ath_hw_keysetmac(struct ath_common *common, u16 entry, const u8 *mac) static bool ath_hw_keysetmac(struct ath_common *common,
u16 entry, const u8 *mac)
{ {
u32 macHi, macLo; u32 macHi, macLo;
u32 unicast_flag = AR_KEYTABLE_VALID; u32 unicast_flag = AR_KEYTABLE_VALID;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment