소스 검색

qca-wifi: Move sm header from common header to adfs sm source

The sm engine header added in dfs common header is only used by
ADFS sm source file. Therefore move the head file to the source file.

Change-Id: I0bfa653781529b0b4f8e3e1a25cef9c354fbba15
CRs-Fixed: 2853427
Vignesh U 4 년 전
부모
커밋
00c1fc9a58
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      umac/dfs/core/src/misc/dfs_agile_sm.c

+ 3 - 0
umac/dfs/core/src/misc/dfs_agile_sm.c

@@ -31,6 +31,9 @@
 
 #include "../dfs_precac_forest.h"
 #include "wlan_reg_services_api.h"
+#ifdef QCA_SUPPORT_AGILE_DFS
+#include <wlan_sm_engine.h> /* for struct wlan_sm */
+#endif
 
 #ifdef QCA_SUPPORT_AGILE_DFS
 /* dfs_start_agile_engine() - Prepare ADFS params and program the agile