Changed the Network Index value to 1 since that is the default value

This commit is contained in:
Jouni Malinen 2009-01-17 21:14:13 +02:00
parent 98f14041d0
commit 655e466600

View file

@ -851,7 +851,7 @@ static int wps_build_cred_network_idx(struct wpabuf *msg,
wpa_printf(MSG_DEBUG, "WPS: * Network Index"); wpa_printf(MSG_DEBUG, "WPS: * Network Index");
wpabuf_put_be16(msg, ATTR_NETWORK_INDEX); wpabuf_put_be16(msg, ATTR_NETWORK_INDEX);
wpabuf_put_be16(msg, 1); wpabuf_put_be16(msg, 1);
wpabuf_put_u8(msg, 0); wpabuf_put_u8(msg, 1);
return 0; return 0;
} }