Merge remote-tracking branch 'bluetooth/master'
[deliverable/linux.git] / net / mac802154 / iface.c
index 7079cd32a7ad201265cf730027dda07254e622aa..06019dba4b10e3e0d079ee617707ae5412269144 100644 (file)
@@ -663,6 +663,7 @@ ieee802154_if_add(struct ieee802154_local *local, const char *name,
 
        /* TODO check this */
        SET_NETDEV_DEV(ndev, &local->phy->dev);
+       dev_net_set(ndev, wpan_phy_net(local->hw.phy));
        sdata = netdev_priv(ndev);
        ndev->ieee802154_ptr = &sdata->wpan_dev;
        memcpy(sdata->name, ndev->name, IFNAMSIZ);
This page took 0.024408 seconds and 5 git commands to generate.