qcacld-3.0: Skip DRSC channels during SAP ACS

qcacld-2.0 to qcacld-3.0 propagation

We do not support SAP on DSRC channels, so skip the DRSC channels
during sap channel initialization.

CRs-Fixed: 1050454
Change-Id: If5544027bca7bc0a578978dfe91adc37e897e992
(cherry picked from commit 0005bfa2adcbe4bc06b96523bb387a7df902a6c7)
(cherry picked from commit b8f62655ae5a86b745ca099fa371914a702abf59)
This commit is contained in:
Deepthi Gowri
2016-08-30 18:43:05 +05:30
committato da qcabuildsw
parent 4577a9b955
commit 48b8933567

Vedi File

@@ -53,7 +53,7 @@
#include "lim_utils.h"
#include "parser_api.h"
#endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
#include "cds_utils.h"
#include "pld_common.h"
/*--------------------------------------------------------------------------
@@ -636,6 +636,10 @@ bool sap_chan_sel_init(tHalHandle halHandle,
continue;
}
/* Skip DSRC channels */
if (cds_is_dsrc_channel(cds_chan_to_freq(*pChans)))
continue;
if (true == chSafe) {
pSpectCh->chNum = *pChans;
pSpectCh->valid = eSAP_TRUE;