|
@@ -2419,8 +2419,8 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
|
|
|
WMA_DHCP_STOP_IND);
|
|
|
stainfo->dhcp_nego_status = DHCP_NEGO_STOP;
|
|
|
|
|
|
- hdd_put_sta_info_ref(&adapter->sta_info_list, &stainfo, true);
|
|
|
hdd_softap_deregister_sta(adapter, &stainfo);
|
|
|
+ hdd_put_sta_info_ref(&adapter->sta_info_list, &stainfo, true);
|
|
|
|
|
|
ap_ctx->ap_active = false;
|
|
|
|
|
@@ -6805,13 +6805,13 @@ void hdd_sap_indicate_disconnect_for_sta(struct hdd_adapter *adapter)
|
|
|
qdf_mem_copy(
|
|
|
&sap_event.sapevt.sapStationDisassocCompleteEvent.staMac,
|
|
|
&sta_info->sta_mac, sizeof(struct qdf_mac_addr));
|
|
|
+ hdd_put_sta_info_ref(&adapter->sta_info_list, &sta_info, true);
|
|
|
|
|
|
sap_event.sapevt.sapStationDisassocCompleteEvent.reason =
|
|
|
eSAP_MAC_INITATED_DISASSOC;
|
|
|
sap_event.sapevt.sapStationDisassocCompleteEvent.status_code =
|
|
|
QDF_STATUS_E_RESOURCES;
|
|
|
hdd_hostapd_sap_event_cb(&sap_event, sap_ctx->user_context);
|
|
|
- hdd_put_sta_info_ref(&adapter->sta_info_list, &sta_info, true);
|
|
|
}
|
|
|
|
|
|
hdd_exit();
|