diff options
| -rw-r--r-- | core/sap/src/sap_ch_select.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/sap/src/sap_ch_select.c b/core/sap/src/sap_ch_select.c index f760da157c8e..2b690225a7cd 100644 --- a/core/sap/src/sap_ch_select.c +++ b/core/sap/src/sap_ch_select.c @@ -2651,6 +2651,16 @@ uint8_t sap_select_channel(tHalHandle hal, ptSapContext sap_ctx, continue; } + if (spect_info->pSpectCh[count].weight_copy > + sap_ctx->acsBestChannelInfo.weight) { + QDF_TRACE(QDF_MODULE_ID_SAP, + QDF_TRACE_LEVEL_INFO_HIGH, + "candidate ch weight: %d, best ch weight: %d", + spect_info->pSpectCh[count].weight_copy, + sap_ctx->acsBestChannelInfo.weight); + continue; + } + if (CDS_IS_DFS_CH(spect_info->pSpectCh[count].chNum) && cds_disallow_mcc(spect_info->pSpectCh[count].chNum)) { QDF_TRACE(QDF_MODULE_ID_SAP, |
