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>
This commit is contained in:

committed by
Marcel Holtmann

parent
2789e6297f
commit
6322d50d87
@@ -15,6 +15,9 @@
|
||||
|
||||
#include "ieee802154_i.h"
|
||||
|
||||
/* privid for wpan_phys to determine whether they belong to us or not */
|
||||
const void *const mac802154_wpan_phy_privid = &mac802154_wpan_phy_privid;
|
||||
|
||||
void ieee802154_wake_queue(struct ieee802154_hw *hw)
|
||||
{
|
||||
struct ieee802154_local *local = hw_to_local(hw);
|
||||
|
Reference in New Issue
Block a user