qcacld-3.0: Fix mac address check in lim_send_sme_mgmt_frame_ind
Broadcast mac address check is performed on an empty buffer pointer before it is filled. Use the input frame pointer instead. CRs-Fixed: 2191063 Change-Id: Ie02dcf05da70d52a0f3532b8d5647a7e8e0bcfe8
This commit is contained in:

committed by
nshrivas

parent
9a6afd1a1a
commit
8e94f725ed
@@ -8294,7 +8294,7 @@ void lim_send_sme_mgmt_frame_ind(tpAniSirGlobal mac_ctx, uint8_t frame_type,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (qdf_is_macaddr_broadcast(
|
if (qdf_is_macaddr_broadcast(
|
||||||
(struct qdf_mac_addr *) sme_mgmt_frame->frameBuf + 4) &&
|
(struct qdf_mac_addr *)(frame + 4)) &&
|
||||||
!session_id) {
|
!session_id) {
|
||||||
pe_debug("Broadcast action frame");
|
pe_debug("Broadcast action frame");
|
||||||
session_id = SME_SESSION_ID_BROADCAST;
|
session_id = SME_SESSION_ID_BROADCAST;
|
||||||
|
Reference in New Issue
Block a user