qcacld-3.0: Update public action frames to supplicant

qcacld-2.0 to qcacld-3.0 propagation

Currently broadcast action frames are dropped in
__hdd_indicate_mgmt_frame(), host tries to get pAdapter using
destination mac address and returns from function as pAdpater is NULL.

Add changes to use existing pAdapter when destination address
of received packet is broadcast.

Change-Id: I9a149116b9a3ec9b4abef4808849876069f2e13c
CRs-Fixed: 2045740
This commit is contained in:
Sreelakshmi Konamki
2017-05-26 11:32:44 +05:30
committed by snandini
parent e1bcb52b09
commit 2b1cd5275e

View File

@@ -2582,7 +2582,10 @@ void __hdd_indicate_mgmt_frame(hdd_adapter_t *pAdapter,
subType = WLAN_HDD_GET_SUBTYPE_FRM_FC(pbFrames[0]);
/* Get pAdapter from Destination mac address of the frame */
if ((type == SIR_MAC_MGMT_FRAME) && (subType != SIR_MAC_MGMT_PROBE_REQ)) {
if ((type == SIR_MAC_MGMT_FRAME) &&
(subType != SIR_MAC_MGMT_PROBE_REQ) &&
!qdf_is_macaddr_broadcast(
(struct qdf_mac_addr *)&pbFrames[WLAN_HDD_80211_FRM_DA_OFFSET])) {
pAdapter =
hdd_get_adapter_by_macaddr(pHddCtx,
&pbFrames