diff options
| author | Martin Blumenstingl <[email protected]> | 2023-02-26 23:10:04 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-03-06 12:09:34 +0200 |
| commit | 15c8e267dfa62f207ee1db666c822324e3362b84 (patch) | |
| tree | f689b50da35368be35f5e5dac8730662c0b7b1f1 /tools/perf/scripts/python/bin | |
| parent | b7ed9fa2cb76ca7a3c3cd4a6d35748fe1fbda9f6 (diff) | |
wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
rtw_mac_power_switch() calls rtw_pwr_seq_parser() which can return
-EINVAL, -EBUSY or 0. Propagate the original error code instead of
unconditionally returning -EINVAL in case of an error.
Fixes: e3037485c68e ("rtw88: new Realtek 802.11ac driver")
Signed-off-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions