summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchana Ramachandran <archanar@codeaurora.org>2017-01-17 16:25:48 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-01-21 14:32:54 -0800
commit5f699a2c36184dc9ff059173f552b88ce9b944da (patch)
tree02ba241a5f46fee076511ec4cad1869919ab397a
parent8ed71fbbad8053b3fc3b5b001955ccafc81d7c3b (diff)
qcacld-3.0: Fix incorrect TX status reported to supplicant for p2p action frames
During p2p negotiaion/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
-rw-r--r--core/mac/src/pe/lim/lim_p2p.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mac/src/pe/lim/lim_p2p.c b/core/mac/src/pe/lim/lim_p2p.c
index 41098542cfc7..75a832d53366 100644
--- a/core/mac/src/pe/lim/lim_p2p.c
+++ b/core/mac/src/pe/lim/lim_p2p.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014,2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -411,7 +411,7 @@ QDF_STATUS lim_p2p_action_cnf(tpAniSirGlobal pMac, uint32_t tx_status)
{
QDF_STATUS status;
uint32_t mgmt_frame_sessionId;
- bool tx_complete_ack = (tx_status) ? false : true;
+ bool tx_complete_ack = (tx_status) ? true : false;
status = pe_acquire_global_lock(&pMac->lim);
if (QDF_IS_STATUS_SUCCESS(status)) {