net: set name_assign_type in alloc_netdev()
[deliverable/linux.git] / drivers / staging / wlan-ng / p80211netdev.c
index 00b186c59725d2888c0b3b649c94d0397bfc6229..6c78f917e24acd270f17097c1432fa83dcc6e94b 100644 (file)
@@ -769,7 +769,7 @@ int wlan_setup(wlandevice_t *wlandev, struct device *physdev)
 
        /* Allocate and initialize the struct device */
        netdev = alloc_netdev(sizeof(struct wireless_dev), "wlan%d",
-                               ether_setup);
+                             NET_NAME_UNKNOWN, ether_setup);
        if (netdev == NULL) {
                dev_err(physdev, "Failed to alloc netdev.\n");
                wlan_free_wiphy(wiphy);
This page took 0.026367 seconds and 5 git commands to generate.