浏览代码

qcacld-3.0: Remove obsolete HAL_SELF_STA_PER_BSS condition

Currently Kbuild unconditionally sets -DHAL_SELF_STA_PER_BSS=1. There
is only one place where this macro is referenced, and it actually
requires that the macro be set for the driver to work. Since this
logic isn't really conditional, remove the conditional compilation.

Change-Id: I09a03339df086146b81b3012fb281e166fccd5da
CRs-Fixed: 2221852
Jeff Johnson 7 年之前
父节点
当前提交
20f84ba9bc
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0 1
      Kbuild
  2. 0 2
      core/wma/inc/wma_if.h

+ 0 - 1
Kbuild

@@ -1837,7 +1837,6 @@ CDEFINES :=	-DANI_OS_TYPE_ANDROID=6 \
 		-Wall\
 		-Werror\
 		-D__linux__ \
-		-DHAL_SELF_STA_PER_BSS=1 \
 		-DFEATURE_WLAN_WAPI \
 		-DSOFTAP_CHANNEL_RANGE \
 		-DWLAN_AP_STA_CONCURRENCY \

+ 0 - 2
core/wma/inc/wma_if.h

@@ -449,9 +449,7 @@ typedef struct sLimMlmSetKeysReq {
  */
 typedef struct {
 	tSirMacAddr bssId;
-#ifdef HAL_SELF_STA_PER_BSS
 	tSirMacAddr selfMacAddr;
-#endif /* HAL_SELF_STA_PER_BSS */
 	tSirBssType bssType;
 	uint8_t operMode;
 	tSirNwType nwType;