aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-12-09 08:18:43 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-12-15 13:46:19 -0500
commit8670d4d603794e643601707e9222df49a2430840 (patch)
tree421e4f538c2173c953b07adb3ff6f348c302ad70 /drivers/net
parentcf2bcc97dd332aa1d28eeacba1d8f8f89eccb7aa (diff)
rtlwifi: rtl8192cu: Fix sparse non static symbol warning
Fixes the following sparse warning: drivers/net/wireless/rtlwifi/rtl8192cu/hw.c:1595:6: warning: symbol 'usb_cmd_send_packet' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
index 873363acbacf..551321728ae0 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
@@ -1592,7 +1592,7 @@ void rtl92cu_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
1592 } 1592 }
1593} 1593}
1594 1594
1595bool usb_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb) 1595static bool usb_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb)
1596{ 1596{
1597 /* Currently nothing happens here. 1597 /* Currently nothing happens here.
1598 * Traffic stops after some seconds in WPA2 802.11n mode. 1598 * Traffic stops after some seconds in WPA2 802.11n mode.