diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 051fedfb8d6a..ce862ffaf19a 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -1682,15 +1682,6 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter, sme_remove_bssid_from_scan_list(pHddCtx->hHal, pHddStaCtx->conn_info.bssId.bytes); } - /* We should clear all sta register with TL, - * for now, only one. - */ - vstatus = hdd_roam_deregister_sta(pAdapter, sta_id); - if (!QDF_IS_STATUS_SUCCESS(vstatus)) { - hdd_err("hdd_roam_deregister_sta() failed to for staID %d. Status= %d [0x%x]", - sta_id, status, status); - status = QDF_STATUS_E_FAILURE; - } pHddCtx->sta_to_adapter[sta_id] = NULL; } /* Clear saved connection information in HDD */