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 d524083..4ccc48f 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;