diff options
| -rw-r--r-- | core/mac/src/pe/lim/lim_process_tdls.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/mac/src/pe/lim/lim_process_tdls.c b/core/mac/src/pe/lim/lim_process_tdls.c index ed5420a4ff1e..6759eb6a939c 100644 --- a/core/mac/src/pe/lim/lim_process_tdls.c +++ b/core/mac/src/pe/lim/lim_process_tdls.c @@ -2388,9 +2388,15 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac, * width of the BSS to which the TDLS peer STAs are * associated. */ - pStaDs->vhtSupportedChannelWidthSet = psessionEntry->ch_width; + if (psessionEntry->ch_width) + pStaDs->vhtSupportedChannelWidthSet = + psessionEntry->ch_width - 1; + else + pStaDs->vhtSupportedChannelWidthSet = + psessionEntry->ch_width; + lim_log(pMac, LOG1, FL("vhtSupportedChannelWidthSet = %hu, htSupportedChannelWidthSet %hu"), - pStaDs->htSupportedChannelWidthSet, + pStaDs->vhtSupportedChannelWidthSet, pStaDs->htSupportedChannelWidthSet); pStaDs->vhtLdpcCapable = pVhtCaps->ldpcCodingCap; |
