From 96aa2ac23be08878ff89c8fb371a3eca0dabe063 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 18 Oct 2017 15:55:36 -0700 Subject: [PATCH] qcacld-3.0: Fix __wlan_hdd_cfg80211_add_key() key logging In __wlan_hdd_cfg80211_add_key() several calls to hdd_debug() explicitly add the function name and line number. This causes that information to be replicated in the actual log since hdd_debug() itself already logs the function name and line number. Fix this by removing the explicit function name and line numbers from those calls. Change-Id: Ib336ca941c709d528df20e74229aa52349929485 CRs-Fixed: 2129324 --- core/hdd/src/wlan_hdd_cfg80211.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index e37b06f7eec4..0b93447fdc1c 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -14188,12 +14188,12 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy, if (!pairwise) { /* set group key */ - hdd_debug("%s- %d: setting Broadcast key", __func__, __LINE__); + hdd_debug("setting Broadcast key"); setKey.keyDirection = eSIR_RX_ONLY; qdf_set_macaddr_broadcast(&setKey.peerMac); } else { /* set pairwise key */ - hdd_debug("%s- %d: setting pairwise key", __func__, __LINE__); + hdd_debug("setting pairwise key"); setKey.keyDirection = eSIR_TX_RX; qdf_mem_copy(setKey.peerMac.bytes, mac_addr, QDF_MAC_ADDR_SIZE); } @@ -14254,8 +14254,7 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy, if (!pairwise) { /* set group key */ if (sta_ctx->roam_info.deferKeyComplete) { - hdd_debug("%s- %d: Perform Set key Complete", - __func__, __LINE__); + hdd_debug("Perform Set key Complete"); hdd_perform_roam_set_key_complete(adapter); } }