wpa_cli: Clean up logical operation
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 16 Feb 2016 13:52:08 +0000 (15:52 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 16 Feb 2016 13:52:08 +0000 (15:52 +0200)
commitddd0032e0320b78e34244f20e6fdf73d89bf00c8
treeb085e52791120c53b3bad9de72a8921e4a9967f6
parent24c382af7a7613dfe26e0c9e2c9d6a11ff6d07cc
wpa_cli: Clean up logical operation

While '!func() == 0' here resulted in correct behavior, it is not clear
and clang is starting to warn about this (-Wlogical-not-parentheses).
Use 'func()' instead as the condition to clear this.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wpa_cli.c