瀏覽代碼

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
Min Liu 4 年之前
父節點
當前提交
416789ae60
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 6 - 0
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)