From 7f84ab9a72a5de694e6fe6c379ac287ae89cfe52 Mon Sep 17 00:00:00 2001 From: Yu Wang Date: Tue, 11 Oct 2022 15:35:31 +0800 Subject: [PATCH] qcacmn: fix build failure for WIFI_MONITOR_SUPPORT disabled case The function dp_monitor_reap_timer_suspend() is not declared for WIFI_MONITOR_SUPPORT disabled case, which will cause build failure. To fix it, declare dp_monitor_reap_timer_suspend() in 'dp_internal.h' for WIFI_MONITOR_SUPPORT disabled case. Change-Id: Id4d246975ccf9eec06a8c794fbbe71f8a934826b CRs-Fixed: 3309771 --- dp/wifi3.0/dp_internal.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index 057183e3fe..7f7107ca10 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -610,6 +610,11 @@ bool dp_monitor_reap_timer_stop(struct dp_soc *soc, return false; } +static inline void +dp_monitor_reap_timer_suspend(struct dp_soc *soc) +{ +} + static inline void dp_monitor_vdev_timer_init(struct dp_soc *soc) {