浏览代码

qcacld-3.0: Log country while doing ACS

Log the current country while executing ACS logic. Current country
helps in knowing the current channel list.

Change-Id: I05a0982d940da19f178f0432372eead0313e77be
CRs-Fixed: 2296561
Amar Singhal 6 年之前
父节点
当前提交
f989879feb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 2 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -2478,6 +2478,8 @@ static int __wlan_hdd_cfg80211_do_acs(struct wiphy *wiphy,
 	if (ret)
 		return ret;
 
+	hdd_debug("current country is %s", hdd_ctx->reg.alpha2);
+
 	if (!((adapter->device_mode == QDF_SAP_MODE) ||
 	      (adapter->device_mode == QDF_P2P_GO_MODE))) {
 		hdd_err("Invalid device mode %d", adapter->device_mode);