Преглед на файлове

qcacld-3.0: Remove nBssLimit from struct csr_scanstruct

Remove unused field nBssLimit from struct csr_scanstruct.

Change-Id: I0f1f4b4608acd6332a9b3a2c48fc4bf430d187bd
CRs-Fixed: 2213060
Jeff Johnson преди 7 години
родител
ревизия
682a7a5558
променени са 2 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 1
      core/sme/inc/csr_internal.h
  2. 0 2
      core/sme/src/csr/csr_api_scan.c

+ 0 - 1
core/sme/inc/csr_internal.h

@@ -668,7 +668,6 @@ struct csr_scanstruct {
 	 * will use the most popular one (max count)
 	 */
 	uint8_t countryCodeElected[WNI_CFG_COUNTRY_CODE_LEN];
-	uint16_t nBssLimit;     /* the maximum number of BSS in scan cache */
 	/*
 	 * channelPowerInfoList24 has been seen corrupted. Set this flag to true
 	 * trying to detect when it happens. Adding this into code because we

+ 0 - 2
core/sme/src/csr/csr_api_scan.c

@@ -82,8 +82,6 @@
 
 #define PCL_ADVANTAGE 30
 #define PCL_RSSI_THRESHOLD -75
-#define CSR_SCAN_IS_OVER_BSS_LIMIT(pMac)  \
-	((pMac)->scan.nBssLimit <= (csr_ll_count(&(pMac)->scan.scanResultList)))
 
 static void csr_set_cfg_valid_channel_list(tpAniSirGlobal pMac, uint8_t
 					*pChannelList, uint8_t NumChannels);