diff options
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/main.c b/net/mac802154/main.c index 7d0ff7fd2cd4..234084d26906 100644 --- a/net/mac802154/main.c +++ b/net/mac802154/main.c | |||
@@ -86,7 +86,7 @@ ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops) | |||
86 | 86 | ||
87 | priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; | 87 | priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; |
88 | 88 | ||
89 | phy = wpan_phy_alloc(&mac802154_config_ops, priv_size); | 89 | phy = wpan_phy_new(&mac802154_config_ops, priv_size); |
90 | if (!phy) { | 90 | if (!phy) { |
91 | pr_err("failure to allocate master IEEE802.15.4 device\n"); | 91 | pr_err("failure to allocate master IEEE802.15.4 device\n"); |
92 | return NULL; | 92 | return NULL; |