diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-09 08:36:49 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-09 19:50:28 +0100 |
commit | 190ac1ca33442dc25a172ece0f34746a7e1514f3 (patch) | |
tree | ea959f364853e6d885c6abbd591d6ea2366058fb /include/net/cfg802154.h | |
parent | ieee802154: add cfg802154_registered_device list (diff) | |
download | linux-190ac1ca33442dc25a172ece0f34746a7e1514f3.tar.xz linux-190ac1ca33442dc25a172ece0f34746a7e1514f3.zip |
ieee802154: add iftype to wpan_dev
This patch adds an iftype argument to the wpan_dev. This is needed to
get the interface type from netdev ieee802154_ptr. The subif data struct
can only accessible in mac802154 branch.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r-- | include/net/cfg802154.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 72c4723a1206..7e1bc21423b0 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -64,6 +64,7 @@ struct wpan_phy { struct wpan_dev { struct wpan_phy *wpan_phy; + int iftype; /* MAC PIB */ __le16 pan_id; |