Stefan Schmidt 4e1795de10 nl802154: stricter input checking for boolean inputs
So far we handled boolean input by forcing them with !! and assigning
them into a bool. This allowed userspace to send values > 1 which were
used as 1. We should be stricter here and return -EINVAL for all but
0 or 1.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-08-28 21:00:37 +02:00
..
2015-05-23 17:57:08 +02:00
2014-11-09 19:50:29 +01:00
2014-11-09 19:50:29 +01:00
2015-05-23 17:57:08 +02:00
2015-07-23 17:10:49 +02:00
2014-10-28 23:19:09 +01:00