浏览代码

qcacld-3.0: Fix incorrect TX status reported to supplicant for p2p action frames

During p2p negotiation/invitation if the TX status for the actions frames
are reported success when they actually failed, the supplicant will
not retransmit the failed frames. It will move on to the next action
frame in the protocol. This would lead to GO Negotiation failure.

CRs-Fixed: 1112657
Change-Id: I9b462524793d8ced5ae86de75e085458070e6513
Archana Ramachandran 8 年之前
父节点
当前提交
c1a03a099f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/mac/src/pe/lim/lim_p2p.c

+ 1 - 1
core/mac/src/pe/lim/lim_p2p.c

@@ -411,7 +411,7 @@ QDF_STATUS lim_p2p_action_cnf(void *context, qdf_nbuf_t buf,
 {
 	QDF_STATUS status;
 	uint32_t mgmt_frame_sessionId;
-	bool tx_complete_ack = (tx_status) ? false : true;
+	bool tx_complete_ack = (tx_status) ? true : false;
 	tpAniSirGlobal pMac = (tpAniSirGlobal)context;
 
 	status = pe_acquire_global_lock(&pMac->lim);