Commit 691a13ac authored by Stefan Schmidt's avatar Stefan Schmidt Committed by Greg Kroah-Hartman
Browse files

ieee802154: at86rf230: switch from BUG_ON() to WARN_ON() on problem



[ Upstream commit 20f33045 ]

The check is valid but it does not warrant to crash the kernel. A
WARN_ON() is good enough here.
Found by checkpatch.

Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be4691a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment