Commit 302b1cd6 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove unused mlme_priv->wps_assoc_resp_ie and friends

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2331ef89
...@@ -1916,7 +1916,6 @@ void start_ap_mode23a(struct rtw_adapter *padapter) ...@@ -1916,7 +1916,6 @@ void start_ap_mode23a(struct rtw_adapter *padapter)
pstapriv->sta_aid[i] = NULL; pstapriv->sta_aid[i] = NULL;
pmlmepriv->wps_probe_resp_ie = NULL; pmlmepriv->wps_probe_resp_ie = NULL;
pmlmepriv->wps_assoc_resp_ie = NULL;
pmlmepriv->p2p_beacon_ie = NULL; pmlmepriv->p2p_beacon_ie = NULL;
pmlmepriv->p2p_probe_resp_ie = NULL; pmlmepriv->p2p_probe_resp_ie = NULL;
......
...@@ -91,8 +91,6 @@ void rtw23a_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv) ...@@ -91,8 +91,6 @@ void rtw23a_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
&pmlmepriv->wps_probe_req_ie_len); &pmlmepriv->wps_probe_req_ie_len);
rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_resp_ie, rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_resp_ie,
&pmlmepriv->wps_probe_resp_ie_len); &pmlmepriv->wps_probe_resp_ie_len);
rtw_free_mlme_ie_data(&pmlmepriv->wps_assoc_resp_ie,
&pmlmepriv->wps_assoc_resp_ie_len);
rtw_free_mlme_ie_data(&pmlmepriv->p2p_beacon_ie, rtw_free_mlme_ie_data(&pmlmepriv->p2p_beacon_ie,
&pmlmepriv->p2p_beacon_ie_len); &pmlmepriv->p2p_beacon_ie_len);
......
...@@ -3137,16 +3137,6 @@ static void issue_assocrsp(struct rtw_adapter *padapter, unsigned short status, ...@@ -3137,16 +3137,6 @@ static void issue_assocrsp(struct rtw_adapter *padapter, unsigned short status,
REALTEK_96B_IE, &pattrib->pktlen); REALTEK_96B_IE, &pattrib->pktlen);
} }
/* add WPS IE ie for wps 2.0 */
if (pmlmepriv->wps_assoc_resp_ie &&
pmlmepriv->wps_assoc_resp_ie_len > 0) {
memcpy(pframe, pmlmepriv->wps_assoc_resp_ie,
pmlmepriv->wps_assoc_resp_ie_len);
pframe += pmlmepriv->wps_assoc_resp_ie_len;
pattrib->pktlen += pmlmepriv->wps_assoc_resp_ie_len;
}
pattrib->last_txcmdsz = pattrib->pktlen; pattrib->last_txcmdsz = pattrib->pktlen;
dump_mgntframe23a(padapter, pmgntframe); dump_mgntframe23a(padapter, pmgntframe);
......
...@@ -163,8 +163,6 @@ struct mlme_priv { ...@@ -163,8 +163,6 @@ struct mlme_priv {
u32 assoc_req_len; u32 assoc_req_len;
u32 assoc_rsp_len; u32 assoc_rsp_len;
u8 *assoc_rsp; u8 *assoc_rsp;
u32 wps_assoc_resp_ie_len;
u8 *wps_assoc_resp_ie;
u8 *wps_probe_resp_ie; u8 *wps_probe_resp_ie;
u32 wps_probe_resp_ie_len; u32 wps_probe_resp_ie_len;
u32 p2p_go_probe_resp_ie_len; /* for GO */ u32 p2p_go_probe_resp_ie_len; /* for GO */
......
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