summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umodem.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1998-12-13 23:26:41 +0000
committern_hibma <n_hibma@FreeBSD.org>1998-12-13 23:26:41 +0000
commit067b9d6ac95655b4b294360c71f1fd00cad21bf3 (patch)
treed6d2456a67a4aa1819537d69780d480a979df280 /sys/dev/usb/umodem.c
parenta8cfc40f4d112ac6fdb45726c636d40d518bd692 (diff)
downloadFreeBSD-src-067b9d6ac95655b4b294360c71f1fd00cad21bf3.zip
FreeBSD-src-067b9d6ac95655b4b294360c71f1fd00cad21bf3.tar.gz
small bug fix
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 07cf6d4..4153187 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -174,6 +174,7 @@ umodem_attach(device_t self)
usb_device_set_desc(self, devinfo);
printf("%s%d", device_get_name(self), device_get_unit(self));
#endif
+ sc->sc_dev = self;
printf(": %s, iclass %d/%d\n", devinfo, id->bInterfaceClass, id->bInterfaceSubClass);
OpenPOWER on IntegriCloud