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>
This commit is contained in:
Родитель
330b5e80ef
Коммит
d9e048cdd2
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче