2d4d5bcda2f0a1f9c7e6e8c2d38c8adbece1b9ab

In __wlan_ipa_wlan_evt, for QDF_IPA_STA_DISCONNECT event, ipa_ctx->vdev_to_iface[session_id] is reset back to WLAN_IPA_MAX_SESSION only when ipa_ctx->sap_num_connected_sta is greater than 0. So, in STA+SAP concurrency case, when no client is connected to SAP, if STA is disconnected, vdev_to_iface is not reset for that particular session id, making it unusable for further events involving IPA iface creation. Fix is to move the code to reset vdev_to_iface outside the check for ipa_ctx->sap_num_connected_sta in QDF_IPA_STA_DISCONNECT scenario, so that vdev_to_iface is reset irrespective of SAP. Change-Id: I06c79b62c540546cf4842f81d235f96b2965661e CRs-Fixed: 2525709
Description
No description provided
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%