Browse Source

WPS: Added driver_test debug dump of Beacon/ProbeResp WPS IE

Jouni Malinen 16 years ago
parent
commit
06384c662a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hostapd/driver_test.c

+ 2 - 0
hostapd/driver_test.c

@@ -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;