6lowpan: Only make 6lowpan links to IEEE802154 devices
authorAlan Ott <alan@signal11.us>
Sun, 6 Oct 2013 03:15:18 +0000 (23:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 19:28:37 +0000 (15:28 -0400)
commit7adac1ec8198e9f5c802918e58a967b92db4a66f
tree155a6bc0a7584062298606fd407028a8466492e9
parent88ba09df236c618b5466d35a0165df0dc865eac5
6lowpan: Only make 6lowpan links to IEEE802154 devices

Refuse to create 6lowpan links if the actual hardware interface is
of any type other than ARPHRD_IEEE802154.

Signed-off-by: Alan Ott <alan@signal11.us>
Suggested-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c