qcacmn: Don't unregister WLAN_UMAC_COMP_IF_MGR during init
Currently WLAN_UMAC_COMP_IF_MGR is deregistered during initialization of WLAN_UMAC_COMP_IF_MGR . During deinitalization wlan_if_mgr_deinit tries to unregister WLAN_UMAC_COMP_IF_MGR which may introduce errorneous behaviour as WLAN_UMAC_COMP_IF_MGR is already unregistered. Fix is not to unregister WLAN_UMAC_COMP_IF_MGR during initialization. Change-Id: I0ee117b9fa7b48df8a5edb4217971553dc1c4a49 CRs-Fixed: 2802673
This commit is contained in:
@@ -40,6 +40,8 @@ QDF_STATUS wlan_if_mgr_init(void)
|
|||||||
}
|
}
|
||||||
ifmgr_debug("interface mgr psoc create and delete handler registered with objmgr");
|
ifmgr_debug("interface mgr psoc create and delete handler registered with objmgr");
|
||||||
|
|
||||||
|
return status;
|
||||||
|
|
||||||
fail_psoc_destroy:
|
fail_psoc_destroy:
|
||||||
wlan_objmgr_unregister_psoc_create_handler(WLAN_UMAC_COMP_IF_MGR,
|
wlan_objmgr_unregister_psoc_create_handler(WLAN_UMAC_COMP_IF_MGR,
|
||||||
wlan_if_mgr_psoc_created_notification, NULL);
|
wlan_if_mgr_psoc_created_notification, NULL);
|
||||||
|
Reference in New Issue
Block a user