Ver código fonte

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 anos atrás
pai
commit
c1a03a099f
1 arquivos alterados com 1 adições e 1 exclusões
  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);