Explorar el Código

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
Ashish Kumar Dhanotiya hace 4 años
padre
commit
047a93da86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      umac/mlme/connection_mgr/core/src/wlan_cm_connect.c

+ 1 - 1
umac/mlme/connection_mgr/core/src/wlan_cm_connect.c

@@ -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,