diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-07-30 15:39:39 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-02 18:25:14 +0300 |
commit | 20e6421344b5bc2f97b8e2db47b6994368417904 (patch) | |
tree | fa560c721de5cb1a5278dba07fc929fd90a9888a /drivers/bcma | |
parent | c3ab1804b168867974a4da541f6e77487a1074f5 (diff) | |
download | linux-stable-20e6421344b5bc2f97b8e2db47b6994368417904.tar.gz linux-stable-20e6421344b5bc2f97b8e2db47b6994368417904.tar.bz2 linux-stable-20e6421344b5bc2f97b8e2db47b6994368417904.zip |
wl1251: fix always return 0 error
wl1251_event_ps_report() should not always return 0 because
wl1251_ps_set_mode() may fail. Change it to return 'ret'.
Fixes: f7ad1eed4d4b ("wl1251: retry power save entry")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200730073939.33704-1-wanghai38@huawei.com
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions