projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9a95c
)
WPS NFC: Fix build without CONFIG_WPS_ER
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Tue, 12 Mar 2013 22:01:32 +0000
(
00:01
+0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 12 Mar 2013 22:02:52 +0000
(
00:02
+0200)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wps_supplicant.c
b/wpa_supplicant/wps_supplicant.c
index
509a7c0
..
1b1b5f7
100644
(file)
--- a/
wpa_supplicant/wps_supplicant.c
+++ b/
wpa_supplicant/wps_supplicant.c
@@
-2007,6
+2007,7
@@
struct wpabuf * wpas_wps_nfc_handover_req(struct wpa_supplicant *wpa_s, int cr)
struct wpabuf * wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s,
int ndef, const char *uuid)
{
+#ifdef CONFIG_WPS_ER
struct wpabuf *ret;
u8 u[UUID_LEN];
@@
-2031,6
+2032,9
@@
struct wpabuf * wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s,
}
return ret;
+#else /* CONFIG_WPS_ER */
+ return NULL;
+#endif /* CONFIG_WPS_ER */
}
#endif /* CONFIG_WPS_NFC */