mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacld-3.0: Fix the session Nss value when 2x2 is disabled
Set the session Nss value to 1 when the 2x2 configuration is disabled. Change-Id: Idabc3fa16cbaa416246fff9efa6b1d114e5ec3fe CRs-Fixed: 2237662
This commit is contained in:
parent
75bc6e5f4d
commit
bc6fb2f624
1 changed files with 4 additions and 0 deletions
|
|
@ -797,6 +797,8 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
|
|||
pe_debug("persona - %d, nss - %d",
|
||||
session->pePersona, session->vdev_nss);
|
||||
session->nss = session->vdev_nss;
|
||||
if (!mac_ctx->roam.configParam.enable2x2)
|
||||
session->nss = 1;
|
||||
/*
|
||||
* Allocate memory for the array of
|
||||
* parsed (Re)Assoc request structure
|
||||
|
|
@ -1434,6 +1436,8 @@ __lim_process_sme_join_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
|
|||
else
|
||||
session->vdev_nss = vdev_type_nss->sta;
|
||||
session->nss = session->vdev_nss;
|
||||
if (!mac_ctx->roam.configParam.enable2x2)
|
||||
session->nss = 1;
|
||||
session->vhtCapability =
|
||||
IS_DOT11_MODE_VHT(session->dot11mode);
|
||||
if (session->vhtCapability) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue