summaryrefslogtreecommitdiff
path: root/include/net/wpan-phy.h
diff options
context:
space:
mode:
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>2012-05-15 20:50:27 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-16 15:17:08 -0400
commit90c049b2c6ae26d1a4d526d660a976620eaa554a (patch)
treef13681c6d06def2dceb6dabfa1821eb153ce00f1 /include/net/wpan-phy.h
parentef2486f5538b886ad4f0d1ac0857b518291b48f7 (diff)
ieee802154: interface type to be added
This stack implementation distinguishes several types of slave interfaces. Another parameter to 'add_iface_' function is added to clarify the interface type is going to be registered. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/wpan-phy.h')
-rw-r--r--include/net/wpan-phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h
index ff27f1b078d1..efd6749e392b 100644
--- a/include/net/wpan-phy.h
+++ b/include/net/wpan-phy.h
@@ -43,7 +43,7 @@ struct wpan_phy {
int idx;
struct net_device *(*add_iface)(struct wpan_phy *phy,
- const char *name);
+ const char *name, int type);
void (*del_iface)(struct wpan_phy *phy, struct net_device *dev);
char priv[0] __attribute__((__aligned__(NETDEV_ALIGN)));