aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-09 20:15:47 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-09 20:15:47 (GMT)
commit315ce40a007adcc0ff0d0425d39b14fba424d059 (patch)
treedd64f566b9a3d9809fbaf281ef040b18b364d94d /wpa_supplicant/wpa_supplicant.c
parent814e925dc475e3cda98d60de39283f21bfac30f3 (diff)
downloadhostap-06-315ce40a007adcc0ff0d0425d39b14fba424d059.zip
hostap-06-315ce40a007adcc0ff0d0425d39b14fba424d059.tar.gz
hostap-06-315ce40a007adcc0ff0d0425d39b14fba424d059.tar.bz2
Renamed the 'alpha2' variable to 'country' to match with config string
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.c')
-rw-r--r--wpa_supplicant/wpa_supplicant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index c3e7dbd..cbe466c 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -1790,8 +1790,8 @@ static int wpa_supplicant_init_iface2(struct wpa_supplicant *wpa_s)
if (wpa_supplicant_driver_init(wpa_s) < 0)
return -1;
- if (wpa_s->conf->alpha2[0] && wpa_s->conf->alpha2[1] &&
- wpa_drv_set_country(wpa_s, wpa_s->conf->alpha2)) {
+ if (wpa_s->conf->country[0] && wpa_s->conf->country[1] &&
+ wpa_drv_set_country(wpa_s, wpa_s->conf->country)) {
wpa_printf(MSG_DEBUG, "Failed to set country");
return -1;
}