mac802154: add wpan_phy priv id
authorAlexander Aring <alex.aring@gmail.com>
Wed, 12 Nov 2014 02:36:51 +0000 (03:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Nov 2014 04:10:36 +0000 (05:10 +0100)
commit6322d50d879c7ad150164cedc64015a7817f7b28
tree13e6bc3e863a1b8aa6c873b60b3209cdc34f0abd
parent2789e6297f8fd4943b8d63599a75c3e1cf4f8517
mac802154: add wpan_phy priv id

This patch adds an unique id for an wpan_phy. This behaviour is mostly
grabbed from wireless stack. This is needed for upcomming patches which
identify the wpan netdev while NETDEV_CHANGENAME in netdev notify function.

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