diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-03-05 06:20:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-07 15:35:17 -0800 |
commit | 56c87c0de528320b3efa0d2d5084749acf05d92c (patch) | |
tree | 1495c22315085eef12401b92eec678a14e5c5ef6 /drivers/staging/rtl8187se/ieee80211 | |
parent | f5099d5e52eb3e6061666d8a20fbf87f169d51b0 (diff) |
staging:rtl8187se:ieee80211: Fix Sparse Warning for Static Declarations
This patch fixes the following Sparse warnings :
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:27:4: warning:
symbol 'rsn_authen_cipher_suite' was not declared. Should it be static?
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:352:6: warning:
symbol 'ext_ieee80211_send_beacon_wq' was not declared. Should it be
static?
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se/ieee80211')
-rw-r--r-- | drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c index c27392d8b640..ab3efe910e94 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c @@ -24,7 +24,7 @@ #include <linux/etherdevice.h> #include "dot11d.h" -u8 rsn_authen_cipher_suite[16][4] = { +static u8 rsn_authen_cipher_suite[16][4] = { {0x00, 0x0F, 0xAC, 0x00}, //Use group key, //Reserved {0x00, 0x0F, 0xAC, 0x01}, //WEP-40 //RSNA default {0x00, 0x0F, 0xAC, 0x02}, //TKIP //NONE //{used just as default} @@ -349,7 +349,7 @@ inline struct sk_buff *ieee80211_probe_req(struct ieee80211_device *ieee) struct sk_buff *ieee80211_get_beacon_(struct ieee80211_device *ieee); -void ext_ieee80211_send_beacon_wq(struct ieee80211_device *ieee) +static void ext_ieee80211_send_beacon_wq(struct ieee80211_device *ieee) { struct sk_buff *skb; |