Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 081c3c48 authored by Jinwei Chen's avatar Jinwei Chen Committed by snandini
Browse files

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
parent 432f91e8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1780,6 +1780,8 @@ dp_rx_mon_status_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota) {

	return work_done;
}

#ifndef DISABLE_MON_CONFIG
/**
 * dp_mon_process() - Main monitor mode processing roution.
 *	This call monitor status ring process then monitor
@@ -1795,6 +1797,12 @@ uint32_t
dp_mon_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota) {
	return dp_rx_mon_status_process(soc, mac_id, quota);
}
#else
uint32_t
dp_mon_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota) {
	return 0;
}
#endif

/**
 * dp_rx_pdev_mon_status_detach() - detach dp rx for status ring