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
This commit is contained in:
Manjunathappa Prakash
2018-03-28 20:08:07 -07:00
committato da nshrivas
parent 4a7bcc1020
commit 7a4ecb2281

Vedi File

@@ -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);