mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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
This commit is contained in:
parent
65eb1b106f
commit
68cd728ed8
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue