qcacmn: Use correct api to get the country info

currently connection manager is using incorrect api to
get the country info which gives compilation error for WIN.

Use correct api to get the country to avoid any compilation
issue.

Change-Id: I647b171ad2ee4a2b70f6803869435074643aa677
CRs-Fixed: 2801991
This commit is contained in:
Ashish Kumar Dhanotiya
2020-10-20 00:25:16 +05:30
committed by snandini
父節點 749c39466e
當前提交 047a93da86

查看文件

@@ -1246,7 +1246,7 @@ cm_resume_connect_after_peer_create(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id)
req.scan_ie = cm_req->connect_req.req.scan_ie;
req.bss = cm_req->connect_req.cur_candidate;
wlan_reg_read_current_country(psoc, country_code);
wlan_reg_get_cc_and_src(psoc, country_code);
mlme_nofl_info(CM_PREFIX_FMT "Connecting to %.*s " QDF_MAC_ADDR_FMT " rssi: %d freq: %d akm 0x%x cipher: uc 0x%x mc 0x%x, CC: %c%c",
CM_PREFIX_REF(req.vdev_id, req.cm_id),
cm_req->connect_req.req.ssid.length,