Procházet zdrojové kódy

qcacmn: Fix compiler failure with HOST_DFS_SPOOF_TEST not defined

Callbacks are defined for both cases, so remove compiler
flag around callback declaration and assign callback for both
HOST_DFS_SPOOF_TEST enabled and disabled cases.

Change-Id: I5e3cedaaa5be550243ac090da3ab6499c5e83904
CRs-Fixed: 2249806
Kiran Venkatappa před 6 roky
rodič
revize
68cd728ed8
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      umac/dfs/dispatcher/inc/wlan_dfs_ucfg_api.h

+ 0 - 2
umac/dfs/dispatcher/inc/wlan_dfs_ucfg_api.h

@@ -131,12 +131,10 @@ struct dfs_to_mlme {
 			uint8_t c_vhtop_ch_freq_seg2,
 			uint64_t dfs_ch_flags,
 			int *cac_timeout);
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
 	QDF_STATUS (*mlme_rebuild_chan_list_with_non_dfs_channels)
 			(struct wlan_objmgr_pdev *pdev);
 	QDF_STATUS (*mlme_restart_vaps_with_non_dfs_chan)
 			(struct wlan_objmgr_pdev *pdev, int no_chans_avail);
-#endif
 };
 
 extern struct dfs_to_mlme global_dfs_to_mlme;