From 85b47fca22eaf08917fbf2ba75e2b506ac5d94b5 Mon Sep 17 00:00:00 2001 From: Rachit Kankane Date: Mon, 19 Feb 2018 11:00:16 +0530 Subject: [PATCH] qcacld-3.0: Compile out WMI logging feature Fix to compile cleanly when WMI_INTERFACE_EVENT_LOGGING feature is disabled. Change-Id: I7bb4b0304adf829f7f95e95795bcc60ce061d8a2 CRs-Fixed: 2192126 --- core/hdd/src/wlan_hdd_wext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 305ca6b7f90a..63a164fab0b4 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -10593,6 +10593,7 @@ int wlan_hdd_set_mon_chan(struct hdd_adapter *adapter, uint32_t chan, return qdf_status_to_os_return(status); } +#ifdef WMI_INTERFACE_EVENT_LOGGING static int printk_adapter(void *priv, const char *fmt, ...) { int ret; @@ -10606,7 +10607,6 @@ static int printk_adapter(void *priv, const char *fmt, ...) return ret; } -#ifdef WMI_INTERFACE_EVENT_LOGGING static void hdd_ioctl_log_buffer(int log_id, uint32_t count) { qdf_abstract_print *print = &printk_adapter;