]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Added driver_test debug dump of Beacon/ProbeResp WPS IE
authorJouni Malinen <j@w1.fi>
Sat, 29 Nov 2008 19:27:25 +0000 (21:27 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 29 Nov 2008 19:27:25 +0000 (21:27 +0200)
hostapd/driver_test.c

index d524083e9ae0c78ce724e45fd9f28307b44e2ce0..4ccc48f9a59234650599845eb1d1f66f62a1f6db 100644 (file)
@@ -762,6 +762,7 @@ static int test_driver_set_wps_beacon_ie(const char *ifname, void *priv,
        struct test_driver_data *drv = priv;
        struct test_driver_bss *bss;
 
+       wpa_hexdump(MSG_DEBUG, "test_driver: Beacon WPS IE", ie, len);
        bss = test_driver_get_bss(drv, ifname);
        if (bss == NULL)
                return -1;
@@ -792,6 +793,7 @@ static int test_driver_set_wps_probe_resp_ie(const char *ifname, void *priv,
        struct test_driver_data *drv = priv;
        struct test_driver_bss *bss;
 
+       wpa_hexdump(MSG_DEBUG, "test_driver: ProbeResp WPS IE", ie, len);
        bss = test_driver_get_bss(drv, ifname);
        if (bss == NULL)
                return -1;