qcacld-3.0: Remove cds_get_context in HIF

Refactor Transport Layer from cds_get_context and pass the hif context
to all the API's to operate.

Change-Id: I2fb376fda12951a77007f46ceb351bb2e7740ace
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam
2016-02-02 18:17:13 +05:30
committed by Prakash Dhavali
parent 588ad2bc46
commit c12e675c50
8 changed files with 28 additions and 24 deletions

View File

@@ -434,9 +434,6 @@ int htt_htc_attach(struct htt_pdev_t *pdev)
return -EIO; /* failure */
pdev->htc_endpoint = response.Endpoint;
#if defined(HIF_PCI)
hif_save_htc_htt_config_endpoint(pdev->htc_endpoint);
#endif
return 0; /* success */
}
@@ -467,9 +464,9 @@ void htt_display(htt_pdev_handle pdev, int indent)
#endif
/* Disable ASPM : Disable PCIe low power */
void htt_htc_disable_aspm(void)
void htt_htc_disable_aspm(struct htt_pdev_t *pdev)
{
htc_disable_aspm();
htc_disable_aspm(pdev->htc_pdev);
}
#ifdef IPA_OFFLOAD