qcacmn: Add check for regulatory channel list

Regulatory module calls registered callbacks when channel list is changed.
But channel list may not have been received when path for callbacks is
reached. So keep a track if channel list has been received. If not, do
not call the callbacks.

Change-Id: I2e1a6e442b0d5c79e786806e00b1c50c9491dae0
CRs-Fixed: 2563759
此提交包含在:
Amar Singhal
2019-11-11 11:13:24 -08:00
提交者 nshrivas
父節點 3af8bd05e8
當前提交 8e992e56f0
共有 7 個檔案被更改,包括 35 行新增36 行删除

查看文件

@@ -632,14 +632,6 @@ QDF_STATUS regulatory_psoc_open(struct wlan_objmgr_psoc *psoc);
*/
QDF_STATUS regulatory_psoc_close(struct wlan_objmgr_psoc *psoc);
/**
* regulatory_pdev_open() - Open regulatory component
* @pdev: Pointer to pdev structure.
*
* Return: Success or Failure
*/
QDF_STATUS regulatory_pdev_open(struct wlan_objmgr_pdev *pdev);
/**
* regulatory_pdev_close() - Close regulatory component
* @pdev: Pointer to pdev structure.