]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Replace the default country with "XX" (non-country entity)
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 10 Nov 2010 14:22:22 +0000 (16:22 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 10 Nov 2010 14:22:22 +0000 (16:22 +0200)
wpa_supplicant/p2p_supplicant.c

index 2f6ae89901370c1c220d05f96fb047ee4c1a6b7c..eeb487fc843d61d64807377b194c4e43b28d9bc5 100644 (file)
@@ -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 "