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:

کامیت شده توسط
nshrivas

والد
0e24680997
کامیت
7ed5ef5d16
@@ -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
|
* 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
|
* Return: none
|
||||||
*/
|
*/
|
||||||
void ol_tx_dump_flow_pool_info(void *ctx)
|
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 *pool = NULL, *pool_prev = NULL;
|
||||||
struct ol_tx_flow_pool_t tmp_pool;
|
struct ol_tx_flow_pool_t tmp_pool;
|
||||||
|
|
||||||
|
مرجع در شماره جدید
Block a user