diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index 78c8376bbfb4..c9f88b6a717a 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -787,8 +787,13 @@ static void __sch_beacon_process_for_session(tpAniSirGlobal mac_ctx, return; } - if (session->htCapability && bcn->HTInfo.present && - !LIM_IS_IBSS_ROLE(session)) + /* + * For vht session, if opermode ie or vht oper IE is present + * bandwidth change will be taken care using these vht IEs. + */ + if (!(session->vhtCapability && (bcn->OperatingMode.present || + bcn->VHTOperation.present)) && session->htCapability && + bcn->HTInfo.present && !LIM_IS_IBSS_ROLE(session)) lim_update_sta_run_time_ht_switch_chnl_params(mac_ctx, &bcn->HTInfo, bssIdx, session);