diff --git a/qdf/Kbuild b/qdf/Kbuild index 3463afda20e5..e23840e5699c 100644 --- a/qdf/Kbuild +++ b/qdf/Kbuild @@ -48,7 +48,8 @@ linux/src/qdf_file.o \ src/qdf_flex_mem.o \ src/qdf_parse.o \ src/qdf_str.o \ -src/qdf_types.o +src/qdf_types.o \ +$(HOST_CMN_CONVG_NLINK)/src/wlan_nlink_srv.o #linux/src/qdf_net.o \ #linux/src/qdf_net_event.o \ #linux/src/qdf_net_ioctl.o @@ -60,7 +61,6 @@ endif ifeq ($(LOGGING_UTILS_SUPPORT),1) qdf-objs += \ -$(HOST_CMN_CONVG_NLINK)/src/wlan_nlink_srv.o \ $(HOST_CMN_CONVG_LOGGING)/src/wlan_logging_sock_svc.o endif diff --git a/qdf/linux/src/qdf_trace.c b/qdf/linux/src/qdf_trace.c index 5c4ea5cfb1d4..8eebf711e275 100644 --- a/qdf/linux/src/qdf_trace.c +++ b/qdf/linux/src/qdf_trace.c @@ -3368,10 +3368,12 @@ void qdf_logging_exit(void) #else void qdf_logging_init(void) { + nl_srv_init(NULL); } void qdf_logging_exit(void) { + nl_srv_exit(); } #endif