ieee802154: atusb: switch from BUG_ON() to WARN_ON() on problem
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 22 Sep 2017 12:13:58 +0000 (14:13 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Nov 2017 15:16:26 +0000 (16:16 +0100)
commitbd910a960f0c4e817d945b061c8ca75aed3d1091
tree5a4df9fcbfd7660c4aff6b93b52b0293dcbc1546
parent2f150344497d8b7c2cdd38e3200e2f11e805cc3a
ieee802154: atusb: switch from BUG_ON() to WARN_ON() on problem

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: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/atusb.c