ieee802154: Remove 802.15.4/6LoWPAN checks for interface MTU.
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 25 May 2015 12:38:39 +0000 (15:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 May 2015 18:26:09 +0000 (20:26 +0200)
commit01c8d2bbd407a178f5bfe0312c32aec345066697
tree48aaa228cb67e17c623510676f7f002cae55a86d
parentd0997b44c9081071e39417b188f7db6d1ea37341
ieee802154: Remove 802.15.4/6LoWPAN checks for interface MTU.

In the past, 802.15.4 interfaces and 6LoWPAN interfaces used the
same dev->type (ARPHRD_IEEE802154), and 802.15.4 interfaces were
distinguished from 6LoWPAN interfaces by their differing dev->mtu.

6LoWPAN interfaces have their own ARPHRD type now, so there is no
longer any need to check dev->mtu to distinguish 802.15.4 devices
from 6LoWPAN devices.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl-mac.c