diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index ee161f338c32..6ea39d1cd669 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -1285,7 +1285,7 @@ QDF_STATUS lim_obss_generate_detection_config(tpAniSirGlobal mac_ctx, cur_detect->obss_ht_mixed_detect_mode, cur_detect->obss_ht_20mhz_detect_mode); - if ((rf_band == BAND_2G)) { + if (rf_band == BAND_2G) { if ((phy_mode == WNI_CFG_PHY_MODE_11G || session->htCapability) && !session->gLim11bParams.protectionEnabled) {