diff options
author | 2023-02-05 09:05:59 +0100 | |
---|---|---|
committer | 2023-02-06 10:48:01 +0100 | |
commit | 3d281bdbffb330da562df985dc30ed1075b638f4 (patch) | |
tree | 7e06fb32618119a15095c4dc3fabecfa59df3be9 /tools/perf/scripts/python | |
parent | staging: r8188eu: correct error logic of rtl8188eu_init_recv_priv() (diff) | |
download | wireguard-linux-3d281bdbffb330da562df985dc30ed1075b638f4.tar.xz wireguard-linux-3d281bdbffb330da562df985dc30ed1075b638f4.zip |
staging: r8188eu: correct error logic of _rtw_init_recv_priv()
Convert the function _rtw_init_recv_priv() away from returning _FAIL
and _SUCCESS, which uses inverted error logic. Return 0 for success
and negative values for failure instead.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230205080559.8319-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions