aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wps/wps.h')
-rw-r--r--src/wps/wps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wps/wps.h b/src/wps/wps.h
index ff4dd10..2505d2d 100644
--- a/src/wps/wps.h
+++ b/src/wps/wps.h
@@ -837,7 +837,7 @@ int wps_build_credential_wrap(struct wpabuf *msg,
unsigned int wps_pin_checksum(unsigned int pin);
unsigned int wps_pin_valid(unsigned int pin);
-unsigned int wps_generate_pin(void);
+int wps_generate_pin(unsigned int *pin);
int wps_pin_str_valid(const char *pin);
void wps_free_pending_msgs(struct upnp_pending_message *msgs);