mac802154: introduce IEEE802154_DEV_TO_SUB_IF
authorAlexander Aring <alex.aring@gmail.com>
Sat, 25 Oct 2014 15:16:40 +0000 (17:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 19:55:38 +0000 (21:55 +0200)
commit59d19cd70cd38afd2d9bf2e3b48c3a5bbb630b5a
treec50750db9700ada4088809468424c9e22fb59581
parent60741361c3ca229a1dbb18e05d11e97b7ea75d69
mac802154: introduce IEEE802154_DEV_TO_SUB_IF

This function adds a wrapper to call netdev_priv to getting the sdata
attribute. This is similar like the IEEE80211_DEV_TO_SUB_IF function
inside wireless stack implementation.

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/mac_cmd.c
net/mac802154/main.c
net/mac802154/mib.c
net/mac802154/monitor.c