summaryrefslogtreecommitdiff
path: root/net/ieee802154/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/core.c')
-rw-r--r--net/ieee802154/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee802154/core.c b/net/ieee802154/core.c
index de259b5170ab..47a4de6df88b 100644
--- a/net/ieee802154/core.c
+++ b/net/ieee802154/core.c
@@ -130,6 +130,8 @@ wpan_phy_new(const struct cfg802154_ops *ops, size_t priv_size)
init_waitqueue_head(&rdev->dev_wait);
+ spin_lock_init(&rdev->wpan_phy.queue_lock);
+
return &rdev->wpan_phy;
}
EXPORT_SYMBOL(wpan_phy_new);