qcacld-3.0: Remove obsolete idle scan flags

Remove the following obsolete fields from struct csr_scanstruct:
- fCancelIdleScan
- fRestartIdleScan
- nIdleScanTimeGap

Change-Id: I50fd4d966586487111a55fc378a06783636a7df9
CRs-Fixed: 2212877
This commit is contained in:
Jeff Johnson 2018-03-24 15:01:59 -07:00 • committed by nshrivas
commit 5bb67b78e4
2 changed files with 0 additions and 5 deletions

View file

@ -666,7 +666,6 @@ struct csr_scanstruct {
v_REGDOMAIN_t domainIdDefault; /* default regulatory domain */
v_REGDOMAIN_t domainIdCurrent; /* current regulatory domain */
bool fCancelIdleScan;
uint8_t countryCodeCount;
/* counts for various advertized country codes */
struct csr_votes11d votes11d[CSR_MAX_NUM_COUNTRY_CODE];
@ -675,8 +674,6 @@ struct csr_scanstruct {
* will use the most popular one (max count)
*/
uint8_t countryCodeElected[WNI_CFG_COUNTRY_CODE_LEN];
bool fRestartIdleScan;
uint32_t nIdleScanTimeGap;
/* keep a track of channels to be scnned while in traffic condition */
struct csr_oschannel_mask osScanChannelMask;
uint16_t nBssLimit; /* the maximum number of BSS in scan cache */

View file

@ -1156,8 +1156,6 @@ QDF_STATUS csr_stop(tpAniSirGlobal pMac, tHalStopType stopType)
csr_roam_close_session(pMac, sessionId, true);
ucfg_scan_set_enable(pMac->psoc, false);
pMac->scan.fCancelIdleScan = false;
pMac->scan.fRestartIdleScan = false;
for (sessionId = 0; sessionId < CSR_ROAM_SESSION_MAX; sessionId++)
csr_neighbor_roam_close(pMac, sessionId);