From 0affa64a1c7c87f44b147ecb5dbb882893cc72af Mon Sep 17 00:00:00 2001 From: gaurank kathpalia Date: Mon, 4 Feb 2019 17:06:47 +0530 Subject: [PATCH] qcacmn: Add debug RL log in cfg layer Add debug RL log in cfg layer to rate limit the excess logs. Change-Id: If4d18bfa45bb4011172896488de168950a14db67 CRs-Fixed: 2392876 --- os_if/linux/wlan_cfg80211.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/os_if/linux/wlan_cfg80211.h b/os_if/linux/wlan_cfg80211.h index 56d121f28103..4debaa4613fe 100644 --- a/os_if/linux/wlan_cfg80211.h +++ b/os_if/linux/wlan_cfg80211.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-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 @@ -42,6 +42,8 @@ QDF_TRACE_INFO(QDF_MODULE_ID_OS_IF, params) #define cfg80211_debug(params...) \ QDF_TRACE_DEBUG(QDF_MODULE_ID_OS_IF, params) +#define cfg80211_debug_rl(params...) \ + QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_OS_IF, params) #define COMMON_VENDOR_COMMANDS \ { \