aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWitold Sowa <witold.sowa@gmail.com>2009-12-03 21:12:42 +0200
committerJouni Malinen <j@w1.fi>2009-12-03 21:12:42 +0200
commita5717c957c240d4d26f3313b39a2f6faef4e8c1c (patch)
treeb994168a324357bba8c22aafed96fe30c2906c07
parent3dee3081789932409423735bfc45c1886159f268 (diff)
downloadexternal_wpa_supplicant_8_ti-a5717c957c240d4d26f3313b39a2f6faef4e8c1c.zip
external_wpa_supplicant_8_ti-a5717c957c240d4d26f3313b39a2f6faef4e8c1c.tar.gz
external_wpa_supplicant_8_ti-a5717c957c240d4d26f3313b39a2f6faef4e8c1c.tar.bz2
dbus: Enable -u option when only the new DBus API is included
-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 bb3dcd8..6ee93b9 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");
-#ifdef CONFIG_CTRL_IFACE_DBUS
+#if defined(CONFIG_CTRL_IFACE_DBUS) || defined(CONFIG_CTRL_IFACE_DBUS_NEW)
printf(" -u = enable DBus control interface\n");
-#endif /* CONFIG_CTRL_IFACE_DBUS */
+#endif /* CONFIG_CTRL_IFACE_DBUS || CONFIG_CTRL_IFACE_DBUS_NEW */
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;
-#ifdef CONFIG_CTRL_IFACE_DBUS
+#if defined(CONFIG_CTRL_IFACE_DBUS) || defined(CONFIG_CTRL_IFACE_DBUS_NEW)
case 'u':
params.dbus_ctrl_interface = 1;
break;
-#endif /* CONFIG_CTRL_IFACE_DBUS */
+#endif /* CONFIG_CTRL_IFACE_DBUS || CONFIG_CTRL_IFACE_DBUS_NEW */
case 'v':
printf("%s\n", wpa_supplicant_version);
exitcode = 0;