diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index ffc61e80b8..8bdb86883c 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -829,8 +829,6 @@ struct hdd_ap_ctx { uint8_t operatingChannel; - bool uIsAuthenticated; - eCsrEncryptionType ucEncryptType; /* This will point to group key data, diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c index 05328b491e..a70a0ad6f9 100644 --- a/core/hdd/src/wlan_hdd_softap_tx_rx.c +++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c @@ -964,7 +964,6 @@ QDF_STATUS hdd_softap_register_sta(struct hdd_adapter *adapter, OL_TXRX_PEER_STATE_AUTH, false); adapter->sta_info[staId].peer_state = OL_TXRX_PEER_STATE_AUTH; - adapter->sessionCtx.ap.uIsAuthenticated = true; } else { hdd_info("ULA auth StaId= %d. Changing TL state to CONNECTED at Join time", @@ -973,9 +972,6 @@ QDF_STATUS hdd_softap_register_sta(struct hdd_adapter *adapter, qdf_status = hdd_change_peer_state(adapter, staDesc.sta_id, OL_TXRX_PEER_STATE_CONN, false); adapter->sta_info[staId].peer_state = OL_TXRX_PEER_STATE_CONN; - - adapter->sessionCtx.ap.uIsAuthenticated = false; - } hdd_debug("Enabling queues");