qcacmn: Revert "Fix issue that DFS NOL can't be cleared"
Replaced with "qcacmn: Do not access reg private if destroyed". Change-Id: I636bcae59166ccd4719056c777682435a0a057bf CRs-Fixed: 3158675
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
cef863a29e
commit
e0ace228c5
@@ -406,22 +406,6 @@ QDF_STATUS dfs_deinit(void)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS dfs_pdev_close(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
struct wlan_dfs *dfs = NULL;
|
||||
|
||||
if (!pdev) {
|
||||
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "PDEV is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
dfs = wlan_pdev_get_dfs_obj(pdev);
|
||||
if (dfs)
|
||||
dfs_detach(dfs);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS wlan_dfs_pdev_obj_create_notification(struct wlan_objmgr_pdev *pdev,
|
||||
void *arg)
|
||||
{
|
||||
@@ -544,6 +528,7 @@ QDF_STATUS wlan_dfs_pdev_obj_destroy_notification(struct wlan_objmgr_pdev *pdev,
|
||||
|
||||
/* DFS is NULL during unload. should we call this function before */
|
||||
if (dfs) {
|
||||
dfs_detach(dfs);
|
||||
global_dfs_to_mlme.pdev_component_obj_detach(pdev,
|
||||
WLAN_UMAC_COMP_DFS,
|
||||
(void *)dfs);
|
||||
|
Reference in New Issue
Block a user