mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Initialize id before tx MGMT frame
It use an uninitialized variable to TX (not wait ack) MGMT frame. Change-Id: I46c96a2879a945e8284c436e5ff6b761e1c246ba CRs-Fixed: 2254688
This commit is contained in:
parent
f57464c549
commit
7d5128c79b
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ QDF_STATUS ucfg_p2p_mgmt_tx(struct wlan_objmgr_psoc *soc,
|
|||
|
||||
/* return cookie just for ota ack frames */
|
||||
if (mgmt_frm->dont_wait_for_ack)
|
||||
*cookie = 0;
|
||||
id = 0;
|
||||
else {
|
||||
status = qdf_idr_alloc(&p2p_soc_obj->p2p_idr,
|
||||
tx_action, &id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue