From 67b01e3bb4eff4e25cc72953f2c0752e2078a94b Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Wed, 30 May 2018 15:43:39 +0300 Subject: [PATCH] [wpa-tool] Changed the way command line parameters are interpreted --- tools/wpa-tool/wpa-tool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/wpa-tool/wpa-tool.c b/tools/wpa-tool/wpa-tool.c index ef3ed0e..2ba66dd 100644 --- a/tools/wpa-tool/wpa-tool.c +++ b/tools/wpa-tool/wpa-tool.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2017 Jolla Ltd. + * Copyright (C) 2015-2018 Jolla Ltd. * Contact: Slava Monich * * You may use this file under the terms of BSD license as follows: @@ -930,8 +930,8 @@ supplicant_valid( network_valid_handler, app); } } - if (app->dump_properties) { - if (!app->iface_path && !app->bss_path && !app->network_path) { + if (!app->iface_path && !app->bss_path && !app->network_path) { + if (app->dump_properties) { printf("Interfaces:"); if (sup->interfaces) { const char* delimiter = " ";