qcacld-3.0: Unregister MLO interfaces for both STA and SAP modes
Currently, unregister MLO interfaces is being called only for STA mode. This may cause issue when there is a change interface in between from STA to SAP and driver unload after that. In this case STA MLO interfaces won't be unregistered. To resolve this, unregister MLO interfaces both for STA and SAP modes. Change-Id: Ia1020f08873edc6e29ae20df7368da10535a9de5 CRs-Fixed: 3137421
This commit is contained in:

committed by
Madan Koyyalamudi

parent
7300130679
commit
f80288a690
@@ -7852,7 +7852,8 @@ void hdd_close_all_adapters(struct hdd_context *hdd_ctx, bool rtnl_held)
|
||||
while (QDF_IS_STATUS_SUCCESS(hdd_get_front_adapter(
|
||||
hdd_ctx, &adapter))) {
|
||||
/* If MLO is enabled unregister the link wdev's */
|
||||
if (adapter->device_mode == QDF_STA_MODE) {
|
||||
if (adapter->device_mode == QDF_STA_MODE ||
|
||||
adapter->device_mode == QDF_SAP_MODE) {
|
||||
qdf_status = hdd_wlan_unregister_mlo_interfaces(adapter,
|
||||
rtnl_held);
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status))
|
||||
|
Reference in New Issue
Block a user