From 2f5a62d85c46de4c5e2658b5ae278e9031830a2b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 23 Jul 2015 16:43:15 -0500 Subject: [PATCH] wsc: Add additional comment --- src/wsc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wsc.c b/src/wsc.c index 8604deb6..853795c0 100644 --- a/src/wsc.c +++ b/src/wsc.c @@ -503,6 +503,12 @@ static int wsc_parse_attrs(const unsigned char *pdu, unsigned int len, } check: + /* + * Check for Version 2.0 required attributes. + * If version2 attribute is present in the WFA Vendor field, + * then check the required attributes are present. Mostly relevant + * for Probe Request messages according to 8.2.4 in WSC 2.0.5 + */ if (version2) { struct attr_handler_entry *entry;