]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtw88: Fix an error message
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 7 Oct 2019 08:48:05 +0000 (11:48 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:25 +0000 (16:31 -0500)
commit934b2e311595d48a54a8694c137a4e22cdb12c60
tree36d70e6c0ec46953a83ce1bab3803cce30af2a3d
parent462987c8c2a27a8f8f111289df5c4646455b98e2
rtw88: Fix an error message

BugLink: https://bugs.launchpad.net/bugs/1780590
The WARN_ON() macro doesn't take an error message, the argument is a
condition so this won't display the warning message.

Fixes: 27e117e4b01b ("rtw88: add deep power save support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
(cherry picked from commit be10b09b278fcd64e79e232c88d9152c6f5c2923)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/ps.c