1
0
Fork 0

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>
hifive-unleashed-5.1
Cihangir Akturk 2015-03-24 21:53:53 +02:00 committed by Greg Kroah-Hartman
parent 330b5e80ef
commit d9e048cdd2
1 changed files with 2 additions and 2 deletions

View File

@ -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;