qcacmn: Fix DFS kernel panic

Panic:-
As part of component destory, DFS component resets ic member
But ic is deleted as part of MLME destroy before destorying
the DFS component.

Solution:-
Reset the ic variables before destroying the components.

Change-Id: I0b120b43b1f3e7d326876d9cf206f37f6ce74ce8
CRs-Fixed: 2060245
This commit is contained in:
Abhijit Pradhan 2017-06-13 09:59:12 +05:30 • committed by snandini
commit dc45ced7ba

View file

@ -424,7 +424,6 @@ void dfs_nol_timer_cleanup(struct wlan_dfs *dfs)
}
dfs->dfs_nol = NULL;
dfs_nol_update(dfs);
dfs_mlme_set_no_chans_available(dfs->dfs_pdev_obj, 0);
}
int dfs_get_rn_use_nol(struct wlan_dfs *dfs)