diff options
| author | Michael Straube <straube.linux@gmail.com> | 2023-02-05 09:05:58 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-06 10:48:01 +0100 |
| commit | 7e00e0c42d119090373d179a6fdc2ab09db5c4f8 (patch) | |
| tree | 5d29a92e585d0fd623f82e71d53e9fd3ee3299b6 /scripts/generate_rust_analyzer.py | |
| parent | 2f36e789e540df6a9fbf471b3a2ba62a8b361586 (diff) | |
staging: r8188eu: correct error logic of rtl8188eu_init_recv_priv()
Convert the function rtl8188eu_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-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
