Home | History | Annotate | Download | only in hostapd

Lines Matching refs:pin

347 	char *pin = os_strchr(txt, ' ');
353 if (pin == NULL)
355 *pin++ = '\0';
357 timeout_txt = os_strchr(pin, ' ');
370 return hostapd_wps_add_pin(hapd, addr, txt, pin, timeout);
377 char pin[9];
387 pin[len++] = *pos;
389 wpa_printf(MSG_DEBUG, "WPS: Too long PIN");
394 wpa_printf(MSG_DEBUG, "WPS: Invalid PIN length %d", (int) len);
397 pin[len] = '\0';
401 pin_val = atoi(pin);
411 ret = os_snprintf(buf, buflen, "%s", pin);
476 char *pin;
479 pin = pos;
485 if (os_strlen(pin) > buflen)
487 if (hostapd_wps_ap_pin_set(hapd, pin, timeout) < 0)
489 return os_snprintf(buf, buflen, "%s", pin);