Sfoglia il codice sorgente

qcacld-3.0: Return success if new ADD Tspec cmd is same as old cmd

In present scenario, addTspec request is being rejected by the
driver with an error as there is no difference in addts parameters.

Return success instead of failure, if new add Tspec cmd is same
as the older cmd.

Change-Id: I605d2ebb398956f56ae8a69b97f758fb35c36fef
CRs-Fixed: 3540003
Aravind Kishore Sukla 1 anno fa
parent
commit
6ef6e18944
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      core/sme/src/qos/sme_qos.c

+ 2 - 2
core/sme/src/qos/sme_qos.c

@@ -1642,9 +1642,9 @@ static enum sme_qos_statustype sme_qos_internal_modify_req(struct mac_context *m
 		flow_info->QoSInfo.suspension_interval) &&
 	    (pQoSInfo->surplus_bw_allowance ==
 		flow_info->QoSInfo.surplus_bw_allowance)) {
-		sme_err("the addts parameters are same as last request, dropping the current request");
+		sme_debug("the addts parameters are same as last request, dropping the current request");
 
-		return SME_QOS_STATUS_MODIFY_SETUP_FAILURE_RSP;
+		return SME_QOS_STATUS_MODIFY_SETUP_SUCCESS_APSD_SET_ALREADY;
 	}
 
 	/* check to consider the following flowing scenario.