Commit be10b09b authored by Dan Carpenter's avatar Dan Carpenter Committed by Kalle Valo
Browse files

rtw88: Fix an error message



The WARN_ON() macro doesn't take an error message, the argument is a
condition so this won't display the warning message.

Fixes: 27e117e4 ("rtw88: add deep power save support")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e542e66b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ retry:
		 * read/write. It should be treated as fatal error and
		 * requires an entire analysis about the firmware/hardware
		 */
		WARN_ON("Hardware power state locked\n");
		WARN(1, "Hardware power state locked\n");
	}
}
EXPORT_SYMBOL(rtw_power_mode_change);