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
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
8b39d2eece
commit
24e697ff3e
@@ -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)
|
||||
|
Reference in New Issue
Block a user