summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
diff options
context:
space:
mode:
authorCihangir Akturk2015-03-24 20:53:53 +0100
committerGreg Kroah-Hartman2015-03-26 13:13:13 +0100
commitd9e048cdd260a1e7f9f2e25cb2bad46521812d99 (patch)
tree3ab73f4038aca6022d7955f3b3cc6fa9063787d7 /drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
parentstaging: ozwpan: implement error handling in ozwpan_init() (diff)
downloadkernel-qcow2-linux-d9e048cdd260a1e7f9f2e25cb2bad46521812d99.tar.gz
kernel-qcow2-linux-d9e048cdd260a1e7f9f2e25cb2bad46521812d99.tar.xz
kernel-qcow2-linux-d9e048cdd260a1e7f9f2e25cb2bad46521812d99.zip
staging: rtl8192u: Fix static decleration sparse warning.
The function 'ieee80211_check_auth_response' is used only in this file, so make it static. This patch fixes the following sparse warning. 'ieee80211_check_auth_response' was not declared. Should it be static? Signed-off-by: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index 543324744b4c..c2388812d4fd 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -1921,8 +1921,8 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
}
-void ieee80211_check_auth_response(struct ieee80211_device *ieee,
- struct sk_buff *skb)
+static void ieee80211_check_auth_response(struct ieee80211_device *ieee,
+ struct sk_buff *skb)
{
/* default support N mode, disable halfNmode */
bool bSupportNmode = true, bHalfSupportNmode = false;