qcacmn: Export api to select log levels

This will be used to initialize based on value provided
in ini file.

CRs-Fixed: 2738127

Change-Id: I3d385a7a88a6a5fdd0ff8949ac1a349880e38575
这个提交包含在:
Anirban Sirkhell
2020-07-22 13:05:06 +05:30
提交者 snandini
父节点 27dc40344d
当前提交 800a2c6059

查看文件

@@ -34,6 +34,7 @@
#include <host_diag_core_event.h> #include <host_diag_core_event.h>
#include "host_diag_core_log.h" #include "host_diag_core_log.h"
#include <qdf_event.h> #include <qdf_event.h>
#include <qdf_module.h>
#ifdef CNSS_GENL #ifdef CNSS_GENL
#include <net/cnss_nl.h> #include <net/cnss_nl.h>
@@ -898,6 +899,8 @@ void wlan_set_console_log_levels(uint32_t console_log_levels)
gwlan_logging.console_log_levels = console_log_levels; gwlan_logging.console_log_levels = console_log_levels;
} }
qdf_export_symbol(wlan_set_console_log_levels);
static void flush_log_buffers_timer(void *dummy) static void flush_log_buffers_timer(void *dummy)
{ {
wlan_flush_host_logs_for_fatal(); wlan_flush_host_logs_for_fatal();