mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 12:52:37 -05:00
qcacld-3.0: Do not change channel BW if channel is 0 in HT info
Do not change channel BW if channel is 0 in HT info, As this will cause invalid channel and phymode sent to firmware and result into crash. Change-Id: Ia629314b9ced299afa5d89092d0a9fc5c7cb6b4c CRs-Fixed: 2065143
This commit is contained in:
parent
d64296923d
commit
7889a7e84e
1 changed files with 5 additions and 0 deletions
|
|
@ -4328,6 +4328,11 @@ void lim_update_sta_run_time_ht_switch_chnl_params(tpAniSirGlobal pMac,
|
|||
return;
|
||||
}
|
||||
|
||||
if (!pHTInfo->primaryChannel) {
|
||||
pe_debug("Ignore as primary channel is 0 in HT info");
|
||||
return;
|
||||
}
|
||||
|
||||
if (psessionEntry->htSecondaryChannelOffset !=
|
||||
(uint8_t) pHTInfo->secondaryChannelOffset
|
||||
|| psessionEntry->htRecommendedTxWidthSet !=
|
||||
|
|
|
|||
Loading…
Reference in a new issue