summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirav Shah <nnshah@codeaurora.org>2016-04-22 10:49:45 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-25 22:56:20 -0700
commit24e697ff3e3063098407ad56dc4e74de57db0ee6 (patch)
treeccb1cd1464a29a9db6dd258bc19c5e6568ae541c
parent8b39d2eece330b0bc95273003867250c70a2a576 (diff)
qcacld-3.0: Update htc_endpoint only for htt tx endpoint
Update htc_endpoint only for htt tx endpoint to avoid double freeing of Tx Queue packets as it will be freed in htt_htc_misc_pkt_pool_free. Rename htc_endpoint to htc_htt_tx_endpoint to reflect it's appropriate use. Change-Id: I736ba08505acc829eb15be30538553dd945695f6 CRs-Fixed: 1006498
-rw-r--r--core/dp/htt/htt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/dp/htt/htt.c b/core/dp/htt/htt.c
index 58860948dd5e..1672a39c2ea5 100644
--- a/core/dp/htt/htt.c
+++ b/core/dp/htt/htt.c
@@ -434,9 +434,10 @@ int htt_update_endpoint(struct htt_pdev_t *pdev,
QDF_BUG(service_id == HTT_DATA_MSG_SVC);
pdev->htc_tx_endpoint = ep;
+ hif_save_htc_htt_config_endpoint(hif_ctx, ep);
rc = 1;
}
- return rc;
+ return rc;
}
int htt_htc_attach(struct htt_pdev_t *pdev, uint16_t service_id)