qcacmn: Correct issues in DFS Full Offload featurization

Change I498ac1f8cd1d6423032d7b3b8c233656c5f0bf22 ("qcacmn: Have separate
macros for DA/PO/FO to reduce the code size") introduced featurization of
the DFS logic. Two functions, target_if_dfs_reg_offload_events() and
dfs_fill_emulate_bang_radar_test(), were not correctly featurized,
resulting in compilation failures when WLAN_DFS_FULL_OFFLOAD is not
enabled. To prevent these failures properly featurize the functions.

CRs-Fixed: 2366596
Change-Id: I4bcecf95d92cb3ebe2ff893c17755385dda11429
このコミットが含まれているのは:
Priyadarshnee S
2019-03-26 14:06:38 +05:30
committed by nshrivas
コミット 457b26718a
2個のファイルの変更4行の追加0行の削除

ファイルの表示

@@ -274,6 +274,7 @@ static int target_if_dfs_reg_ocac_event(struct wlan_objmgr_psoc *psoc)
}
#endif
#if defined(WLAN_DFS_FULL_OFFLOAD)
QDF_STATUS target_if_dfs_reg_offload_events(
struct wlan_objmgr_psoc *psoc)
{
@@ -299,6 +300,7 @@ QDF_STATUS target_if_dfs_reg_offload_events(
else
return QDF_STATUS_SUCCESS;
}
#endif
#if defined(QCA_SUPPORT_AGILE_DFS)
QDF_STATUS target_send_ocac_abort_cmd(struct wlan_objmgr_pdev *pdev)