[USB] Assign proper names to devices. Fix pegasus driver to use it.
[people/balajirrao/gpxe.git] / src / drivers / net / usb / pegasus.c
index 5fead0c..25850b2 100644 (file)
@@ -498,7 +498,7 @@ int pegasus_probe(struct usb_device *udev,
        pegasus->udev = udev;
        pegasus->net = netdev;
 
-       /* pegasus->dev = &udev->dev; */
+       netdev->dev = &udev->dev;
 
        for(i = 0;i < udev->num_endpoints; i++) {
                if (usb_ep_xfertype(udev->endpoints[i]) == USB_ENDPOINT_XFER_BULK &&