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
This commit is contained in:
Amar Singhal
2018-08-20 12:13:34 -07:00
committed by nshrivas
parent feab00087b
commit f989879feb

View File

@@ -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);