Просмотр исходного кода

qcacmn: Fix compilation issue for BW puncture macro

The macro QCA_DFS_BW_PUNCTURE depends on the macro
WLAN_FEATURE_11BE. This creates compilation issue and fix
is introduced in this patch.

CRs-Fixed: 3283332
Change-Id: Ie00f7384142b39c309845408c6268ae6346f4734
Vijay Krishnan 2 лет назад
Родитель
Сommit
516973c973
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      umac/dfs/core/src/misc/dfs_process_radar_found_ind.c

+ 1 - 1
umac/dfs/core/src/misc/dfs_process_radar_found_ind.c

@@ -1010,7 +1010,7 @@ dfs_process_radar_ind(struct wlan_dfs *dfs,
 	return status;
 }
 
-#ifdef QCA_DFS_BW_PUNCTURE
+#if defined(QCA_DFS_BW_PUNCTURE) && defined(WLAN_FEATURE_11BE)
 /**
  * dfs_is_ignore_radar_for_punctured_chans: Store the radar bitmap and check if
  *                                          radar is found in already punctured