|
@@ -1895,11 +1895,16 @@ static QDF_STATUS lim_assoc_tx_complete_cnf(void *context,
|
|
|
assoc_ack_status = ACKED;
|
|
|
reason_code = QDF_STATUS_SUCCESS;
|
|
|
mac_ctx->assoc_ack_status = LIM_ACK_RCD_SUCCESS;
|
|
|
- } else {
|
|
|
+ } else if (tx_complete == WMI_MGMT_TX_COMP_TYPE_COMPLETE_NO_ACK) {
|
|
|
assoc_ack_status = NOT_ACKED;
|
|
|
reason_code = QDF_STATUS_E_FAILURE;
|
|
|
mac_ctx->assoc_ack_status = LIM_ACK_RCD_FAILURE;
|
|
|
+ } else {
|
|
|
+ assoc_ack_status = SENT_FAIL;
|
|
|
+ reason_code = QDF_STATUS_E_FAILURE;
|
|
|
+ mac_ctx->assoc_ack_status = LIM_TX_FAILED;
|
|
|
}
|
|
|
+
|
|
|
if (buf)
|
|
|
qdf_nbuf_free(buf);
|
|
|
|
|
@@ -2776,10 +2781,14 @@ static QDF_STATUS lim_auth_tx_complete_cnf(void *context,
|
|
|
if (!sae_auth_acked)
|
|
|
lim_deactivate_and_change_timer(mac_ctx,
|
|
|
eLIM_AUTH_RETRY_TIMER);
|
|
|
- } else {
|
|
|
+ } else if (tx_complete == WMI_MGMT_TX_COMP_TYPE_COMPLETE_NO_ACK) {
|
|
|
mac_ctx->auth_ack_status = LIM_ACK_RCD_FAILURE;
|
|
|
auth_ack_status = NOT_ACKED;
|
|
|
reason_code = QDF_STATUS_E_FAILURE;
|
|
|
+ } else {
|
|
|
+ mac_ctx->auth_ack_status = LIM_TX_FAILED;
|
|
|
+ auth_ack_status = SENT_FAIL;
|
|
|
+ reason_code = QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
if (buf)
|