mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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:
parent
9a6afd1a1a
commit
8e94f725ed
1 changed files with 1 additions and 1 deletions
|
|
@ -8294,7 +8294,7 @@ void lim_send_sme_mgmt_frame_ind(tpAniSirGlobal mac_ctx, uint8_t frame_type,
|
|||
}
|
||||
|
||||
if (qdf_is_macaddr_broadcast(
|
||||
(struct qdf_mac_addr *) sme_mgmt_frame->frameBuf + 4) &&
|
||||
(struct qdf_mac_addr *)(frame + 4)) &&
|
||||
!session_id) {
|
||||
pe_debug("Broadcast action frame");
|
||||
session_id = SME_SESSION_ID_BROADCAST;
|
||||
|
|
|
|||
Loading…
Reference in a new issue