Bläddra i källkod

qcacld-3.0: Change config type of tx_bf_cap to uint

Change max value of tx_bf_cap to 4294967295 from -1
which is misconfigured. 4294967295 corresponds to
0xFFFFFFFF which is max value for 32 bit unsigned
int since this CFG item is getting used as part of
4 byte dot11f HT capability population.

Change-Id: Ifd0fea080dd9eb1f6995af0df20c68e3f73b891a
CRs-Fixed: 2581060
Gururaj Pandurangi 5 år sedan
förälder
incheckning
1e8f221be0
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h

+ 2 - 2
components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h

@@ -126,10 +126,10 @@
 		CFG_VALUE_OR_DEFAULT, \
 		"VHT TX SUPP DATA RATE")
 
-#define CFG_TX_BF_CAP CFG_INT( \
+#define CFG_TX_BF_CAP CFG_UINT( \
 		"tx_bf_cap", \
 		0, \
-		-1, \
+		4294967295, \
 		0, \
 		CFG_VALUE_OR_DEFAULT, \
 		"TX BF CAP")