From 7a4ecb22812c5ecd989b78bb5cfc7799938d3554 Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Wed, 28 Mar 2018 20:08:07 -0700 Subject: [PATCH] qcacld-3.0: Fix argument type for ol_txrx_stats_callback ol_txrx_stats_callback is not implemented as it is not required, fix the calling function argument type to match the prototype. Change-Id: I8a976737af8f226a1774950170f445c93ebf683b CRs-Fixed: 2216859 --- core/dp/txrx/ol_txrx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 28e9381ec600..f8094ce92887 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -4064,6 +4064,7 @@ ol_txrx_fw_stats_handler(ol_txrx_pdev_handle pdev, uint64_t cookie, uint8_t *stats_info_list) { enum htt_dbg_stats_type type; + enum htt_cmn_dbg_stats_type cmn_type = HTT_DBG_CMN_NUM_STATS_INVALID; enum htt_dbg_stats_status status; int length; uint8_t *stats_data; @@ -4260,9 +4261,11 @@ ol_txrx_fw_stats_handler(ol_txrx_pdev_handle pdev, } buf = req->base.copy.buf ? req->base.copy.buf : stats_data; + + /* Not implemented for MCL */ if (req->base.callback.fp) req->base.callback.fp(req->base.callback.ctxt, - type, buf, bytes); + cmn_type, buf, bytes); } stats_info_list += length; } while (1);