Module Name: src Committed By: joerg Date: Fri Aug 28 13:05:13 UTC 2015
Modified Files: src/external/bsd/wpa/dist/wpa_supplicant: wpa_cli.c Log Message: Simplify. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c diff -u src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c:1.6 src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c:1.7 --- src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c:1.6 Wed Apr 1 19:45:15 2015 +++ src/external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c Fri Aug 28 13:05:13 2015 @@ -3805,7 +3805,7 @@ static void try_connection(void *eloop_c if (ctrl_ifname == NULL) ctrl_ifname = wpa_cli_get_default_ifname(); - if (!wpa_cli_open_connection(ctrl_ifname, 1) == 0) { + if (wpa_cli_open_connection(ctrl_ifname, 1) != 0) { if (!warning_displayed) { printf("Could not connect to wpa_supplicant: " "%s - re-trying\n",