|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -1610,7 +1610,7 @@ static QDF_STATUS lim_assoc_tx_complete_cnf(void *context,
|
|
|
tpAniSirGlobal mac_ctx = (tpAniSirGlobal)context;
|
|
|
|
|
|
pe_debug("tx_complete= %d", tx_complete);
|
|
|
- if (tx_complete) {
|
|
|
+ if (tx_complete == WMI_MGMT_TX_COMP_TYPE_COMPLETE_OK) {
|
|
|
assoc_ack_status = ACKED;
|
|
|
reason_code = eSIR_SUCCESS;
|
|
|
} else {
|
|
@@ -2108,8 +2108,9 @@ static QDF_STATUS lim_auth_tx_complete_cnf(void *context,
|
|
|
uint16_t reason_code;
|
|
|
|
|
|
pe_debug("tx_complete = %d %s", tx_complete,
|
|
|
- (tx_complete ? "success":"fail"));
|
|
|
- if (tx_complete) {
|
|
|
+ (tx_complete == WMI_MGMT_TX_COMP_TYPE_COMPLETE_OK) ?
|
|
|
+ "success" : "fail");
|
|
|
+ if (tx_complete == WMI_MGMT_TX_COMP_TYPE_COMPLETE_OK) {
|
|
|
mac_ctx->auth_ack_status = LIM_AUTH_ACK_RCD_SUCCESS;
|
|
|
auth_ack_status = ACKED;
|
|
|
reason_code = eSIR_SUCCESS;
|