WPS: Making some parsing messages use excessive debug level
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 22 Sep 2010 18:39:58 +0000 (11:39 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 22 Sep 2010 18:39:58 +0000 (11:39 -0700)
This makes it easier to read -dd debug logs in environments that
have multiple WPS or P2P devices.

src/wps/wps_attr_parse.c

index d68e854..dce7d6b 100644 (file)
@@ -25,7 +25,7 @@
 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr,
                                          u8 id, u8 len, const u8 *pos)
 {
-       wpa_printf(MSG_MSGDUMP, "WPS: WFA subelement id=%u len=%u",
+       wpa_printf(MSG_EXCESSIVE, "WPS: WFA subelement id=%u len=%u",
                   id, len);
        switch (id) {
        case WFA_ELEM_VERSION2:
@@ -547,7 +547,7 @@ int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr)
                pos += 2;
                len = WPA_GET_BE16(pos);
                pos += 2;
-               wpa_printf(MSG_MSGDUMP, "WPS: attr type=0x%x len=%u",
+               wpa_printf(MSG_EXCESSIVE, "WPS: attr type=0x%x len=%u",
                           type, len);
                if (len > end - pos) {
                        wpa_printf(MSG_DEBUG, "WPS: Attribute overflow");