Parcourir la source

qcacmn: Fix delay in driver logging

In function qdf_trace_msg_cmn va_end is called without va_start.
This can lead to delay in driver logging.

Change-Id: I9d2c9893037f5836cf902e6e311a0a521b8389e0
CRs-Fixed: 2373637
Bala Venkatesh il y a 6 ans
Parent
commit
61f47a6fbd
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      qdf/linux/src/qdf_trace.c

+ 1 - 2
qdf/linux/src/qdf_trace.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -3005,7 +3005,6 @@ void qdf_trace_msg_cmn(unsigned int idx,
 #else
 		pr_err("%s\n", str_buffer);
 #endif
-		va_end(val);
 	}
 }
 qdf_export_symbol(qdf_trace_msg_cmn);