nl802154: Missing return in nl802154_add_llsec_key()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 2 Oct 2015 07:47:29 +0000 (10:47 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Oct 2015 21:34:37 +0000 (23:34 +0200)
commitaa6555622cdf443f0b001352fdc3afb6e7bce20d
treea6d47a68f7ae87ff8c31efe1dc95ea3120b627ea
parent5f509239eccc9d118d3474a22e78b3da1ceefe02
nl802154: Missing return in nl802154_add_llsec_key()

There was a missing return here so it meant that often
ieee802154_llsec_parse_key_id() was not called.

Fixes: a26c5fd7622d ('nl802154: add support for security layer')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl802154.c