mac802154: common error path
authorVarka Bhadram <varkab@cdac.in>
Mon, 11 Aug 2014 11:25:08 +0000 (13:25 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:25 +0000 (08:49 +0200)
commitb288a4963f09459c29cca240d3352cc7915710fc
treef36e85ef1f541280b75401e431dd422c17564586
parent24bbd44a96c7a209fafbf1b28f0ac1a00cf4e551
mac802154: common error path

By introducing label fail, making the common error path for
mac802154_llsec_decrypt() and packet type default case.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/wpan.c