nl802154: cleanup invalid argument handling
authorAlexander Aring <alex.aring@gmail.com>
Sun, 17 May 2015 19:44:37 +0000 (21:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 May 2015 09:44:41 +0000 (11:44 +0200)
commit0cf0879acdbeff695963d78940b89497803ae55c
treeabb1e0a7e62169e235414ca17f2540d81d402fd7
parent43b79209b5be533173eea08535558cf517b334ca
nl802154: cleanup invalid argument handling

This patch cleanups the -EINVAL cases by combining them in one
condition.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl802154.c