From 416789ae6038dd828eda27dcdab15ef8076398b8 Mon Sep 17 00:00:00 2001 From: Min Liu Date: Tue, 25 Aug 2020 14:58:27 +0800 Subject: [PATCH] qcacld-3.0: Debug logs for wifi configuration vendor command Add more debug logs for wifi configuration vendor command. Change-Id: I0b5735fcd59071d044f7964c9629aa78b99d41c3 CRs-Fixed: 2762199 --- core/hdd/src/wlan_hdd_cfg80211.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 2d728cde8db9..578cef4cc5fe 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -8846,6 +8846,8 @@ static int hdd_get_nss_config(struct hdd_adapter *adapter, } } + hdd_debug("nss %d", nss); + if (nla_put_u8(skb, QCA_WLAN_VENDOR_ATTR_CONFIG_NSS, nss)) { hdd_err("nla_put failure"); return -EINVAL; @@ -9001,6 +9003,8 @@ static int hdd_get_configuration(struct hdd_adapter *adapter, if (!attr) continue; + hdd_debug("Get wifi configuration %d", id); + cb = config_getters[i].cb; errno = cb(adapter, skb, attr); if (errno) @@ -9046,6 +9050,8 @@ static int hdd_set_independent_configuration(struct hdd_adapter *adapter, if (!attr) continue; + hdd_debug("Set wifi configuration %d", id); + cb = independent_setters[i].cb; ret = cb(adapter, attr); if (ret)