Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
00c1fc9a58
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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