]> git.karo-electronics.de Git - linux-beck.git/commit
mac802154: rx: move skb->protocol setting
authorAlexander Aring <alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:35 +0000 (17:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:43 +0000 (18:07 +0100)
commit702dcf994a0f0c467aae4b65885833a114126387
tree344d289f803f5013081298063826d170a802528b
parent469100d6c2ff22cd1f50672ac6d09a1633334489
mac802154: rx: move skb->protocol setting

This patch moves the skb->protocol setting to the position when it's
needed. It's only needed when frame parsing was successful.

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