aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-13 17:50:16 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-14 00:28:03 (GMT)
commitf77cedc11a002271bd8b4e95f18b9a1a7cafe610 (patch)
tree27d434829303b8e6246750bd4015d1c0907f7636 /wpa_supplicant/wps_supplicant.h
parentb37dac50a26dd33919d7dd694504f7e8df2df1cc (diff)
downloadhostap-f77cedc11a002271bd8b4e95f18b9a1a7cafe610.zip
hostap-f77cedc11a002271bd8b4e95f18b9a1a7cafe610.tar.gz
hostap-f77cedc11a002271bd8b4e95f18b9a1a7cafe610.tar.bz2
WPS ER: Remove unnecessary return value
wps_er_deinit() cannot fail and it does not return anything, so neither should wpas_wps_er_stop(). Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index 2263512..683bd50 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -47,7 +47,7 @@ int wpas_wps_searching(struct wpa_supplicant *wpa_s);
int wpas_wps_scan_result_text(const u8 *ies, size_t ies_len, char *pos,
char *end);
int wpas_wps_er_start(struct wpa_supplicant *wpa_s, const char *filter);
-int wpas_wps_er_stop(struct wpa_supplicant *wpa_s);
+void wpas_wps_er_stop(struct wpa_supplicant *wpa_s);
int wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const u8 *addr,
const char *uuid, const char *pin);
int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid);