aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-04-06 13:42:27 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-06 21:56:04 (GMT)
commit679f2e7c5f2af3d93ec42c37d41832be1c1142e7 (patch)
tree4c7a6d6b105ef57dd6b9a4dd38183caad12ac1ff /wpa_supplicant/wps_supplicant.c
parentdf58939cece9b31a5c85c35f647abc2da7a260f9 (diff)
downloadhostap-679f2e7c5f2af3d93ec42c37d41832be1c1142e7.zip
hostap-679f2e7c5f2af3d93ec42c37d41832be1c1142e7.tar.gz
hostap-679f2e7c5f2af3d93ec42c37d41832be1c1142e7.tar.bz2
WPS NFC: Remove NFC_RX_HANDOVER_SEL
The newer NFC_REPORT_HANDOVER command is more general version that handles the cases where NFC_RX_HANDOVER_SEL could potentially have been used. In addition, with the new WPS NFC design, it is important to receive the handover request message that was used in the handover in addition to the select message, so the NFC_RX_HANDOVER_SEL command on its own would not be sufficient for this. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 9671506..22b8e71 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -2362,8 +2362,8 @@ struct wpabuf * wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s,
}
-int wpas_wps_nfc_rx_handover_sel(struct wpa_supplicant *wpa_s,
- const struct wpabuf *data)
+static int wpas_wps_nfc_rx_handover_sel(struct wpa_supplicant *wpa_s,
+ const struct wpabuf *data)
{
struct wpabuf *wps;
int ret = -1;