qcacmn: Remove static from the gwlan_logging struct

The gwlan_logging struct is used by offline tools, so it needs to be
made non-static. Remove the static keyword from gwlan_logging.

Change-Id: I05f47328914c40a2c957ca404b6681ba8507d367
CRs-Fixed: 2663164
This commit is contained in:
Alan Chen
2020-04-13 15:56:58 -07:00
committed by nshrivas
parent 93d8e4ae42
commit 87df3e8c2d

View File

@@ -182,7 +182,10 @@ struct wlan_logging {
qdf_spinlock_t flush_timer_lock;
};
static struct wlan_logging gwlan_logging;
/* This global variable is intentionally not marked static because it
* is used by offline tools. Please do not use it outside this file.
*/
struct wlan_logging gwlan_logging;
static struct pkt_stats_msg *gpkt_stats_buffers;
#ifdef WLAN_LOGGING_BUFFERS_DYNAMICALLY