qcacmn: unregister link switch cb before mlo global ctx deinit
Unregister mlo mgr link switch cb before mlo global ctx deinit because the cb is maintained by global ctx. Change-Id: I2bd95e74e9067e19db7448510bc6255c3bd7a1f3 CRs-Fixed: 3604403
This commit is contained in:

committed by
Rahul Choudhary

parent
e4db5e6c73
commit
cab8f71b14
@@ -416,6 +416,8 @@ QDF_STATUS wlan_mlo_mgr_deinit(void)
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wlan_mlo_mgr_unregister_link_switch_notifier(WLAN_UMAC_COMP_MLO_MGR);
|
||||||
|
|
||||||
mlo_global_ctx_deinit();
|
mlo_global_ctx_deinit();
|
||||||
|
|
||||||
status = wlan_objmgr_unregister_vdev_create_handler(
|
status = wlan_objmgr_unregister_vdev_create_handler(
|
||||||
@@ -430,7 +432,6 @@ QDF_STATUS wlan_mlo_mgr_deinit(void)
|
|||||||
if (status != QDF_STATUS_SUCCESS)
|
if (status != QDF_STATUS_SUCCESS)
|
||||||
mlo_err("Failed to unregister vdev delete handler");
|
mlo_err("Failed to unregister vdev delete handler");
|
||||||
|
|
||||||
wlan_mlo_mgr_unregister_link_switch_notifier(WLAN_UMAC_COMP_MLO_MGR);
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user