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:
sheenam monga
2020-10-29 18:29:11 +05:30
committed by snandini
parent 5a1b8f00f1
commit 3cb0095f11

View File

@@ -40,6 +40,8 @@ QDF_STATUS wlan_if_mgr_init(void)
}
ifmgr_debug("interface mgr psoc create and delete handler registered with objmgr");
return status;
fail_psoc_destroy:
wlan_objmgr_unregister_psoc_create_handler(WLAN_UMAC_COMP_IF_MGR,
wlan_if_mgr_psoc_created_notification, NULL);