Commit 5986a3f2 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Declare issue_asocrsp() static

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2bfb149
...@@ -46,6 +46,9 @@ static int OnAction23a_ht(struct rtw_adapter *padapter, struct recv_frame *precv ...@@ -46,6 +46,9 @@ static int OnAction23a_ht(struct rtw_adapter *padapter, struct recv_frame *precv
static int OnAction23a_wmm(struct rtw_adapter *padapter, struct recv_frame *precv_frame); static int OnAction23a_wmm(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
static int OnAction23a_p2p(struct rtw_adapter *padapter, struct recv_frame *precv_frame); static int OnAction23a_p2p(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
static void issue_asocrsp(struct rtw_adapter *padapter, unsigned short status,
struct sta_info *pstat, int pkt_type);
static struct mlme_handler mlme_sta_tbl[]={ static struct mlme_handler mlme_sta_tbl[]={
{"OnAssocReq23a", &OnAssocReq23a}, {"OnAssocReq23a", &OnAssocReq23a},
{"OnAssocRsp23a", &OnAssocRsp23a}, {"OnAssocRsp23a", &OnAssocRsp23a},
...@@ -1693,11 +1696,11 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame) ...@@ -1693,11 +1696,11 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame)
/* issue assoc rsp before notify station join event. */ /* issue assoc rsp before notify station join event. */
if (ieee80211_is_assoc_req(mgmt->frame_control)) if (ieee80211_is_assoc_req(mgmt->frame_control))
issue_asocrsp23a(padapter, status, pstat, issue_asocrsp(padapter, status, pstat,
WIFI_ASSOCRSP); WIFI_ASSOCRSP);
else else
issue_asocrsp23a(padapter, status, pstat, issue_asocrsp(padapter, status, pstat,
WIFI_REASSOCRSP); WIFI_REASSOCRSP);
/* 2 - report to upper layer */ /* 2 - report to upper layer */
DBG_8723A("indicate_sta_join_event to upper layer - hostapd\n"); DBG_8723A("indicate_sta_join_event to upper layer - hostapd\n");
...@@ -1722,9 +1725,9 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame) ...@@ -1722,9 +1725,9 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame)
#ifdef CONFIG_8723AU_AP_MODE #ifdef CONFIG_8723AU_AP_MODE
pstat->aid = 0; pstat->aid = 0;
if (ieee80211_is_assoc_req(mgmt->frame_control)) if (ieee80211_is_assoc_req(mgmt->frame_control))
issue_asocrsp23a(padapter, status, pstat, WIFI_ASSOCRSP); issue_asocrsp(padapter, status, pstat, WIFI_ASSOCRSP);
else else
issue_asocrsp23a(padapter, status, pstat, WIFI_REASSOCRSP); issue_asocrsp(padapter, status, pstat, WIFI_REASSOCRSP);
#endif #endif
#endif /* CONFIG_8723AU_AP_MODE */ #endif /* CONFIG_8723AU_AP_MODE */
...@@ -3108,8 +3111,8 @@ void issue_auth23a(struct rtw_adapter *padapter, struct sta_info *psta, ...@@ -3108,8 +3111,8 @@ void issue_auth23a(struct rtw_adapter *padapter, struct sta_info *psta,
return; return;
} }
void issue_asocrsp23a(struct rtw_adapter *padapter, unsigned short status, static void issue_asocrsp(struct rtw_adapter *padapter, unsigned short status,
struct sta_info *pstat, int pkt_type) struct sta_info *pstat, int pkt_type)
{ {
#ifdef CONFIG_8723AU_AP_MODE #ifdef CONFIG_8723AU_AP_MODE
struct xmit_frame *pmgntframe; struct xmit_frame *pmgntframe;
......
...@@ -580,8 +580,6 @@ void issue_beacon23a(struct rtw_adapter *padapter, int timeout_ms); ...@@ -580,8 +580,6 @@ void issue_beacon23a(struct rtw_adapter *padapter, int timeout_ms);
void issue_probersp23a(struct rtw_adapter *padapter, unsigned char *da, void issue_probersp23a(struct rtw_adapter *padapter, unsigned char *da,
u8 is_valid_p2p_probereq); u8 is_valid_p2p_probereq);
void issue_assocreq23a(struct rtw_adapter *padapter); void issue_assocreq23a(struct rtw_adapter *padapter);
void issue_asocrsp23a(struct rtw_adapter *padapter, unsigned short status,
struct sta_info *pstat, int pkt_type);
void issue_auth23a(struct rtw_adapter *padapter, struct sta_info *psta, void issue_auth23a(struct rtw_adapter *padapter, struct sta_info *psta,
unsigned short status); unsigned short status);
void issue_probereq23a(struct rtw_adapter *padapter, struct cfg80211_ssid *pssid, void issue_probereq23a(struct rtw_adapter *padapter, struct cfg80211_ssid *pssid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment