]> git.karo-electronics.de Git - linux-beck.git/commit
mac802154: use new nl802154 iftype types
authorAlexander Aring <alex.aring@gmail.com>
Mon, 17 Nov 2014 07:20:49 +0000 (08:20 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 17 Nov 2014 08:49:15 +0000 (09:49 +0100)
commit944742a36d784c2a36a141ac10ba5168b0313cec
tree7a3ef544cfccf772c3e9c24ee9c7d2f4d5f9bb97
parentcd11d935f2df86b6a619e8721553b1d41633f0fd
mac802154: use new nl802154 iftype types

This patch replace the depracted IEEE802154_DEV to the new introduced
NL802154_IFTYPE_NODE types. There is a backwards compatibility to have
the identical types for both enum definitions. Also remove some inlcude
issue with "linux/nl802154.h", because the export nl_policy inside this
header it was always necessary to have an include of "net/rtnetlink.h"
before. The reason for this is more complicated. Nevertheless we removed
this now, because "linux/nl802154.h" is the depracted netlink interface.

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