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:
5928411
)
Fix compiler warning with CONFIG_NO_STDOUT_DEBUG=y
author
Jouni Malinen
<j@w1.fi>
Sun, 11 Dec 2011 16:19:24 +0000
(18:19 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 11 Dec 2011 16:19:24 +0000
(18:19 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/p2p_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/p2p_supplicant.c
b/wpa_supplicant/p2p_supplicant.c
index
494d74a
..
6f6edc6
100644
(file)
--- a/
wpa_supplicant/p2p_supplicant.c
+++ b/
wpa_supplicant/p2p_supplicant.c
@@
-972,6
+972,7
@@
void wpas_dev_found(void *ctx, const u8 *addr,
const struct p2p_peer_info *info,
int new_device)
{
+#ifndef CONFIG_NO_STDOUT_DEBUG
struct wpa_supplicant *wpa_s = ctx;
char devtype[WPS_DEV_TYPE_BUFSIZE];
@@
-984,6
+985,7
@@
void wpas_dev_found(void *ctx, const u8 *addr,
sizeof(devtype)),
info->device_name, info->config_methods,
info->dev_capab, info->group_capab);
+#endif /* CONFIG_NO_STDOUT_DEBUG */
wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device);
}