mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacmn: Skip monitor status ring accessing if DISABLE_MON_CONFIG is set
Skip monitor status ring accessing if DISABLE_MON_CONFIG is set Change-Id: Ia91bb4eb68c8fa301557d3b713a9e94b9cb8ee2b CRs-Fixed: 2744524
This commit is contained in:
parent
2b9e4ba1cb
commit
da291f0045
1 changed files with 9 additions and 0 deletions
|
|
@ -1936,6 +1936,7 @@ dp_rx_mon_status_process(struct dp_soc *soc, struct dp_intr *int_ctx,
|
|||
return work_done;
|
||||
}
|
||||
|
||||
#ifndef DISABLE_MON_CONFIG
|
||||
uint32_t
|
||||
dp_mon_process(struct dp_soc *soc, struct dp_intr *int_ctx,
|
||||
uint32_t mac_id, uint32_t quota)
|
||||
|
|
@ -1945,6 +1946,14 @@ dp_mon_process(struct dp_soc *soc, struct dp_intr *int_ctx,
|
|||
|
||||
return dp_rx_mon_status_process(soc, int_ctx, mac_id, quota);
|
||||
}
|
||||
#else
|
||||
uint32_t
|
||||
dp_mon_process(struct dp_soc *soc, struct dp_intr *int_ctx,
|
||||
uint32_t mac_id, uint32_t quota)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
dp_rx_pdev_mon_status_buffers_alloc(struct dp_pdev *pdev, uint32_t mac_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue