mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Rate limit mgmt frame error messages
Mgmt frame error messages can occur quite frequently. Therefore rate limit them. Change-Id: I7c42f012c4de3b49120eeedaf83b70c509fa7669 CRs-Fixed: 2326360
This commit is contained in:
parent
b646d7b593
commit
dc5ae4d501
2 changed files with 2 additions and 1 deletions
|
|
@ -90,6 +90,7 @@
|
|||
#define wma_warn(params...) QDF_TRACE_WARN(QDF_MODULE_ID_WMA, params)
|
||||
#define wma_info(params...) QDF_TRACE_INFO(QDF_MODULE_ID_WMA, params)
|
||||
#define wma_debug(params...) QDF_TRACE_DEBUG(QDF_MODULE_ID_WMA, params)
|
||||
#define wma_err_rl(params...) QDF_TRACE_ERROR_RL(QDF_MODULE_ID_WMA, params)
|
||||
|
||||
#define wma_nofl_alert(params...) \
|
||||
QDF_TRACE_FATAL_NO_FL(QDF_MODULE_ID_WMA, params)
|
||||
|
|
|
|||
|
|
@ -4144,7 +4144,7 @@ static int wma_mgmt_rx_process(void *handle, uint8_t *data,
|
|||
|
||||
status = mgmt_txrx_rx_handler(psoc, wbuf, mgmt_rx_params);
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
WMA_LOGE("%s: Failed to process mgmt rx frame", __func__);
|
||||
wma_err_rl("Failed to process mgmt rx frame");
|
||||
qdf_mem_free(mgmt_rx_params);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue