]> git.ipfire.org Git - thirdparty/hostap.git/commit
Interworking: Combine identical error returns into a single one
authorJouni Malinen <j@w1.fi>
Sun, 3 Jul 2016 16:57:31 +0000 (19:57 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 Jul 2016 19:37:01 +0000 (22:37 +0300)
commitf7c04e50bdadcfb15327ba3dbad199f54889f579
treefe97fd9124153c1d9135fff360a1a97b3ed92bf2
parentc8ae9daf2bd0a95fad3c4dc8088f9d0b2fc37fbd
Interworking: Combine identical error returns into a single one

There is no need to maintain separate "return -1;" for each of the
wpa_config_set() calls that cannot really fail in practice.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/interworking.c