mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Get txrx_pdev context from global cds_context
__hdd_tx_timeout passes cdp_soc context dump_flow_pool_info callback function. Lithium_dp interchangeably use cdp_soc and dp_soc as cdp_soc is first element of dp_soc. Same is not valid for iHelium datapath, do not expect caller to pass the txrx_pdev context, instead get it from global cds_context. Change-Id: I64932fefd1294275608258df49544135d3a0562c CRs-Fixed: 2240099
This commit is contained in:
parent
0e24680997
commit
7ed5ef5d16
1 changed files with 3 additions and 1 deletions
|
|
@ -284,12 +284,14 @@ static const char *ol_tx_flow_pool_status_to_str
|
|||
|
||||
/**
|
||||
* ol_tx_dump_flow_pool_info() - dump global_pool and flow_pool info
|
||||
* @ctx: cdp_soc context, required only in lithium_dp flow control.
|
||||
* Remove void * while cleaning up cds_get_context.
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void ol_tx_dump_flow_pool_info(void *ctx)
|
||||
{
|
||||
struct ol_txrx_pdev_t *pdev = ctx;
|
||||
struct ol_txrx_pdev_t *pdev = cds_get_context(QDF_MODULE_ID_TXRX);
|
||||
struct ol_tx_flow_pool_t *pool = NULL, *pool_prev = NULL;
|
||||
struct ol_tx_flow_pool_t tmp_pool;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue