Skip to content
Snippets Groups Projects
Commit fd8584d4 authored by Zhao Xuewen's avatar Zhao Xuewen Committed by z00208928
Browse files

drivers:wlan: delete the custom country code


delete the custom country code,get the country code from paired phone

Change-Id: Ia9d3fd91542ca9984d08d601a349a0d07f20beab
Signed-off-by: default avatarz00189113 <z00189113@notesmail.huawei.com>
parent 9943a22c
No related branches found
No related tags found
No related merge requests found
...@@ -369,7 +369,7 @@ int wldev_set_country( ...@@ -369,7 +369,7 @@ int wldev_set_country(
cspec.rev = -1; cspec.rev = -1;
memcpy(cspec.country_abbrev, country_code, WLC_CNTRY_BUF_SZ); memcpy(cspec.country_abbrev, country_code, WLC_CNTRY_BUF_SZ);
memcpy(cspec.ccode, country_code, WLC_CNTRY_BUF_SZ); memcpy(cspec.ccode, country_code, WLC_CNTRY_BUF_SZ);
dhd_get_customized_country_code(dev, (char *)&cspec.country_abbrev, &cspec);
error = wldev_iovar_setbuf(dev, "country", &cspec, sizeof(cspec), error = wldev_iovar_setbuf(dev, "country", &cspec, sizeof(cspec),
smbuf, sizeof(smbuf), NULL); smbuf, sizeof(smbuf), NULL);
if (error < 0) { if (error < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment