diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-06-13 20:32:04 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-06-13 20:32:04 +0000 |
| commit | 95ea342968b919b418b028d9360eedf685a55220 (patch) | |
| tree | 538db23d436787038f980271529ae2be44235c1b /src/wps/wps_attr_parse.c | |
| parent | 6cb83b2c027206298153773f39b17f2f52ab99e0 (diff) | |
Notes
Diffstat (limited to 'src/wps/wps_attr_parse.c')
| -rw-r--r-- | src/wps/wps_attr_parse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wps/wps_attr_parse.c b/src/wps/wps_attr_parse.c index 25ff25189076c..f50ae39749298 100644 --- a/src/wps/wps_attr_parse.c +++ b/src/wps/wps_attr_parse.c @@ -381,6 +381,14 @@ static int wps_set_attr(struct wps_parse_attr *attr, u16 type, attr->eap_identity = pos; attr->eap_identity_len = len; break; + case ATTR_AP_SETUP_LOCKED: + if (len != 1) { + wpa_printf(MSG_DEBUG, "WPS: Invalid AP Setup Locked " + "length %u", len); + return -1; + } + attr->ap_setup_locked = pos; + break; default: wpa_printf(MSG_DEBUG, "WPS: Unsupported attribute type 0x%x " "len=%u", type, len); |
