diff options
| author | Wang Hai <wanghai38@huawei.com> | 2020-07-30 15:39:39 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:53:02 +0200 |
| commit | 8b795d88be68802d9fe84b2e0e9e551ddc09f019 (patch) | |
| tree | 55dc70ca034b93300d97fe87d2d56f006f2b1048 /include/linux/debugobjects.h | |
| parent | 39afe76f8b1212b39a3c900b948a63d4023ba77d (diff) | |
wl1251: fix always return 0 error
[ Upstream commit 20e6421344b5bc2f97b8e2db47b6994368417904 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
