mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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:
parent
330b5e80ef
commit
d9e048cdd2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue