ieee802154: remove mlme get_phy callback
authorAlexander Aring <alex.aring@gmail.com>
Wed, 5 Nov 2014 19:51:18 +0000 (20:51 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 5 Nov 2014 20:53:04 +0000 (21:53 +0100)
commitbd28a11f25f2c2a563620e7be588dc4dd8a91396
tree52d9a31150389f22e98774d3b26cec1fe7517608
parentd5ae67bacd9654b0e26b9f248249e9ee1b6e338b
ieee802154: remove mlme get_phy callback

This patch removes the get_phy callback from mlme ops structure. Instead
we doing a dereference via ieee802154_ptr dev pointer. For backwards
compatibility we need to run get_device after dereference wpan_phy via
ieee802154_ptr.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/ieee802154_netdev.h
net/ieee802154/6lowpan_rtnl.c
net/ieee802154/nl-mac.c
net/ieee802154/nl-phy.c
net/mac802154/iface.c
net/mac802154/mac_cmd.c