]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rtl8723au: Remove obsolete mlme_priv->p2p_* entries
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 21 Jun 2014 14:50:12 +0000 (16:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jun 2014 20:08:37 +0000 (13:08 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/rtw_mlme.h

index 753a0fe8b96bd38ec72544dbf591aa8ab88fe705..7f1c687786187826e5fe2fea7e2579faf9702af2 100644 (file)
@@ -1915,9 +1915,6 @@ void start_ap_mode23a(struct rtw_adapter *padapter)
        for (i = 0; i<NUM_STA; i++)
                pstapriv->sta_aid[i] = NULL;
 
-       pmlmepriv->p2p_beacon_ie = NULL;
-       pmlmepriv->p2p_probe_resp_ie = NULL;
-
        /* for ACL */
        INIT_LIST_HEAD(&pacl_list->acl_node_q.queue);
        pacl_list->num = 0;
index 0653f953cc6a81745e9442b86b545c303bd74f60..f9ead3ec34f7b488cf0a944fd47c8414de30af5f 100644 (file)
@@ -90,17 +90,6 @@ void rtw23a_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
        rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_req_ie,
                              &pmlmepriv->wps_probe_req_ie_len);
 
-       rtw_free_mlme_ie_data(&pmlmepriv->p2p_beacon_ie,
-                             &pmlmepriv->p2p_beacon_ie_len);
-       rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_req_ie,
-                             &pmlmepriv->p2p_probe_req_ie_len);
-       rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_resp_ie,
-                             &pmlmepriv->p2p_probe_resp_ie_len);
-       rtw_free_mlme_ie_data(&pmlmepriv->p2p_go_probe_resp_ie,
-                             &pmlmepriv->p2p_go_probe_resp_ie_len);
-       rtw_free_mlme_ie_data(&pmlmepriv->p2p_assoc_req_ie,
-                             &pmlmepriv->p2p_assoc_req_ie_len);
-
        rtw_free_mlme_ie_data(&pmlmepriv->wfd_beacon_ie,
                              &pmlmepriv->wfd_beacon_ie_len);
        rtw_free_mlme_ie_data(&pmlmepriv->wfd_probe_req_ie,
index ef70e4aad74dd7367a59a9485823ebcb45ea8342..be6099818c9b6dfa046a68f6e975dc5e1f9f16f5 100644 (file)
@@ -163,16 +163,6 @@ struct mlme_priv {
        u32 assoc_req_len;
        u32 assoc_rsp_len;
        u8 *assoc_rsp;
-       u32 p2p_go_probe_resp_ie_len; /* for GO */
-       u32 p2p_assoc_req_ie_len;
-       u8 *p2p_beacon_ie;
-       u8 *p2p_probe_req_ie;
-       u8 *p2p_probe_resp_ie;
-       u8 *p2p_go_probe_resp_ie; /* for GO */
-       u8 *p2p_assoc_req_ie;
-       u32 p2p_beacon_ie_len;
-       u32 p2p_probe_req_ie_len;
-       u32 p2p_probe_resp_ie_len;
        u8 *wfd_assoc_req_ie;
        u32 wfd_assoc_req_ie_len;