From: Jouni Malinen Date: Wed, 10 Nov 2010 14:22:22 +0000 (+0200) Subject: P2P: Replace the default country with "XX" (non-country entity) X-Git-Tag: hostap-1-bp~858 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaca650540cc7b3100f71140d728504e2dfb6085;p=thirdparty%2Fhostap.git P2P: Replace the default country with "XX" (non-country entity) --- diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 2f6ae8990..eeb487fc8 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -2229,7 +2229,7 @@ int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s) os_memcpy(p2p.country, wpa_s->conf->country, 2); p2p.country[2] = 0x04; } else - os_memcpy(p2p.country, "US\x04", 3); + os_memcpy(p2p.country, "XX\x04", 3); if (wpas_p2p_setup_channels(wpa_s, &p2p.channels)) { wpa_printf(MSG_ERROR, "P2P: Failed to configure supported "