diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2020-02-03 14:01:57 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-02-03 20:10:31 +0200 |
commit | ebe8e6116ac49d182b060f843904caf5eacf5b87 (patch) | |
tree | 3f992afd6e8feb951ffa4d9b4b6fb9779b7b4510 /net | |
parent | 577ddbee1f43a355cc733829da96c8ffb3b99cc5 (diff) |
rtw88: Fix return value of rtw_wow_check_fw_status
Clang warns that ret is used uninitialzed.
And we found that actually the return type should be "int" instead
of "bool".
Fixes: 44bc17f7f5b3 ("rtw88: support wowlan feature for 8822c")
Link: https://github.com/ClangBuiltLinux/linux/issues/850
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions