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-07-23 13:07:04 -07:00
2015-03-02 16:43:41 -05:00
2015-08-17 14:31:42 -07:00
2015-03-06 21:50:02 -05:00
2015-08-17 14:34:48 -07:00
2015-08-14 17:49:53 +02:00
2015-07-28 09:37:44 -07:00
2015-08-11 12:41:35 +02:00