Commit 0acae4f3 authored by 薛德章's avatar 薛德章

make the default wireless device name to wlan0,wlan1,...

parent fb1c00ef
......@@ -1022,6 +1022,7 @@ static int probe(struct usb_interface *intf, const struct usb_device_id *id)
goto error;
}
strcpy(netdev->name, "wlan%d");
r = register_netdev(netdev);
if (r) {
dev_dbg_f(&intf->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment