From f989879feb220674824994bfba06dda166bec944 Mon Sep 17 00:00:00 2001 From: Amar Singhal Date: Mon, 20 Aug 2018 12:13:34 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 1c57df19aae7..706d8396cdbb 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/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);