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
Cette révision appartient à :

révisé par
Rahul Choudhary

Parent
e4db5e6c73
révision
cab8f71b14
@@ -416,6 +416,8 @@ QDF_STATUS wlan_mlo_mgr_deinit(void)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
wlan_mlo_mgr_unregister_link_switch_notifier(WLAN_UMAC_COMP_MLO_MGR);
|
||||
|
||||
mlo_global_ctx_deinit();
|
||||
|
||||
status = wlan_objmgr_unregister_vdev_create_handler(
|
||||
@@ -430,7 +432,6 @@ QDF_STATUS wlan_mlo_mgr_deinit(void)
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
mlo_err("Failed to unregister vdev delete handler");
|
||||
|
||||
wlan_mlo_mgr_unregister_link_switch_notifier(WLAN_UMAC_COMP_MLO_MGR);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur