]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ieee802154: fix iface dump with lowpan
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:58 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:29 +0000 (19:50 +0100)
commit87023e1058c9ead2314c27761991816b48f949ef
tree0513166fcb65ae3c2a72f80e6b61f5b446b1ce22
parent7bea1ea7b4c16af7c9263648e10f7edc88e5fc21
ieee802154: fix iface dump with lowpan

This patch adds a hacked solution for an interface dump with a running
lowpan interface. This will crash because lowpan and wpan interface use
the same arphdr. To change the arphdr will change the UAPI, this patch
checks on mtu which should on lowpan interface always different than
IEEE802154_MTU.

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