- Correctly destroy assoiciated ucom device on detach.

MFC after:	2 weeks
Reported by:	Ilya Bakulin <webmaster@kibab.com>
Approved by:	imp, cognet
This commit is contained in:
Stanislav Sedov 2008-04-16 21:15:10 +00:00
parent 6aa6d011e4
commit 640bd7d7d7

View file

@ -338,6 +338,8 @@ uipaq_detach(device_t self)
DPRINTF(("uipaq_detach: sc=%p flags=%d\n", sc, flags));
ucom->sc_dying = 1;
rv = ucom_detach(ucom);
return (rv);
}