aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154/main.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-01 23:18:35 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-11-01 23:51:06 -0400
commita5dd1d72d868ec9c8f44d60ca29900b6a38321b4 (patch)
tree9710a262a7ac980362ad1459115447b75905a4a6 /net/mac802154/main.c
parentfe58d016e396fc685364b5a1743faf83c1fb8103 (diff)
cfg802154: introduce cfg802154_registered_device
This patch introduce the cfg802154_registered_device struct. Like cfg80211_registered_device in wireless this should contain similar functionality for cfg802154. This patch should not change any behaviour. We just adds cfg802154_registered_device as container for wpan_phy struct. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/main.c')
-rw-r--r--net/mac802154/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/main.c b/net/mac802154/main.c
index 86e533ed3775..ebc2bb123cfe 100644
--- a/net/mac802154/main.c
+++ b/net/mac802154/main.c
@@ -169,7 +169,7 @@ ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops)
169 169
170 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; 170 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len;
171 171
172 phy = wpan_phy_alloc(priv_size); 172 phy = wpan_phy_alloc(NULL, priv_size);
173 if (!phy) { 173 if (!phy) {
174 pr_err("failure to allocate master IEEE802.15.4 device\n"); 174 pr_err("failure to allocate master IEEE802.15.4 device\n");
175 return NULL; 175 return NULL;