aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-01 11:26:56 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-01 11:26:56 (GMT)
commit64bde6d730e099506263d76ca3cc53c91e1275f2 (patch)
tree387714cb3f52fe9bdd2ff284fa2fb46af0b681af /wpa_supplicant/main.c
parent094e9ea1d7b5666c72ec60c47dbb2d75b4bbd199 (diff)
downloadhostap-64bde6d730e099506263d76ca3cc53c91e1275f2.zip
hostap-64bde6d730e099506263d76ca3cc53c91e1275f2.tar.gz
hostap-64bde6d730e099506263d76ca3cc53c91e1275f2.tar.bz2
dbus: Use CONFIG_DBUS instead of old||new
Diffstat (limited to 'wpa_supplicant/main.c')
-rw-r--r--wpa_supplicant/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index 6ee93b9..c0aa59c 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -73,9 +73,9 @@ static void usage(void)
" -p = driver parameters\n"
" -P = PID file\n"
" -q = decrease debugging verbosity (-qq even less)\n");
-#if defined(CONFIG_CTRL_IFACE_DBUS) || defined(CONFIG_CTRL_IFACE_DBUS_NEW)
+#ifdef CONFIG_DBUS
printf(" -u = enable DBus control interface\n");
-#endif /* CONFIG_CTRL_IFACE_DBUS || CONFIG_CTRL_IFACE_DBUS_NEW */
+#endif /* CONFIG_DBUS */
printf(" -v = show version\n"
" -W = wait for a control interface monitor before starting\n"
" -N = start describing new interface\n");
@@ -218,11 +218,11 @@ int main(int argc, char *argv[])
case 't':
params.wpa_debug_timestamp++;
break;
-#if defined(CONFIG_CTRL_IFACE_DBUS) || defined(CONFIG_CTRL_IFACE_DBUS_NEW)
+#ifdef CONFIG_DBUS
case 'u':
params.dbus_ctrl_interface = 1;
break;
-#endif /* CONFIG_CTRL_IFACE_DBUS || CONFIG_CTRL_IFACE_DBUS_NEW */
+#endif /* CONFIG_DBUS */
case 'v':
printf("%s\n", wpa_supplicant_version);
exitcode = 0;