diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-05 20:51:18 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-05 21:53:04 +0100 |
commit | bd28a11f25f2c2a563620e7be588dc4dd8a91396 (patch) | |
tree | 52d9a31150389f22e98774d3b26cec1fe7517608 /include/net | |
parent | d5ae67bacd9654b0e26b9f248249e9ee1b6e338b (diff) | |
download | linux-stable-bd28a11f25f2c2a563620e7be588dc4dd8a91396.tar.gz linux-stable-bd28a11f25f2c2a563620e7be588dc4dd8a91396.tar.bz2 linux-stable-bd28a11f25f2c2a563620e7be588dc4dd8a91396.zip |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ieee802154_netdev.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h index 5e62d758eea5..83bb8a73d23c 100644 --- a/include/net/ieee802154_netdev.h +++ b/include/net/ieee802154_netdev.h @@ -423,8 +423,6 @@ struct ieee802154_mlme_ops { /* The fields below are required. */ - struct wpan_phy *(*get_phy)(const struct net_device *dev); - /* * FIXME: these should become the part of PIB/MIB interface. * However we still don't have IB interface of any kind @@ -434,16 +432,6 @@ struct ieee802154_mlme_ops { u8 (*get_dsn)(const struct net_device *dev); }; -/* The IEEE 802.15.4 standard defines 2 type of the devices: - * - FFD - full functionality device - * - RFD - reduce functionality device - * - * So 2 sets of mlme operations are needed - */ -struct ieee802154_reduced_mlme_ops { - struct wpan_phy *(*get_phy)(const struct net_device *dev); -}; - static inline struct ieee802154_mlme_ops * ieee802154_mlme_ops(const struct net_device *dev) { |