Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[wpa-tool] Changed the way command line parameters are interpreted
  • Loading branch information
monich committed May 30, 2018
1 parent be4cad0 commit 67b01e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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 <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
Expand Down Expand Up @@ -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 = " ";
Expand Down

0 comments on commit 67b01e3

Please sign in to comment.