mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
8b39d2eece
commit
24e697ff3e
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue