DivestOS/Patches/Linux_CVEs/CVE-2016-10235/1.patch

36 lines
1.2 KiB
Diff

From a8b3b4ff293108a3aef0ea1ec1760f3d406d1e36 Mon Sep 17 00:00:00 2001
From: Subrat Dash <sdash@codeaurora.org>
Date: Wed, 14 Dec 2016 14:35:24 +0530
Subject: prima: Fix VHT-80 IBSS stops beaconing
A STA entry is created for each peer joining
the network to take care of the peer specific
capabilities.
The VDEV need not be reconfigured for IBSS peer
with different channel width joining the network.
Change-Id: Iec6ec5d2b510b84538f4e5300b3f1c5cc63b334d
CRs-Fixed: 1046409
---
CORE/MAC/src/pe/sch/schBeaconProcess.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CORE/MAC/src/pe/sch/schBeaconProcess.c b/CORE/MAC/src/pe/sch/schBeaconProcess.c
index 8d3483b..8d32309 100644
--- a/CORE/MAC/src/pe/sch/schBeaconProcess.c
+++ b/CORE/MAC/src/pe/sch/schBeaconProcess.c
@@ -469,7 +469,8 @@ static void __schBeaconProcessForSession( tpAniSirGlobal pMac,
sendProbeReq = TRUE;
}
- if ( psessionEntry->htCapability && pBeacon->HTInfo.present )
+ if ( psessionEntry->htCapability && pBeacon->HTInfo.present &&
+ (!LIM_IS_IBSS_ROLE(psessionEntry)))
{
limUpdateStaRunTimeHTSwitchChnlParams( pMac, &pBeacon->HTInfo, bssIdx,psessionEntry);
}
--
cgit v1.1