In urtw_init() call urtw_stop(ifp, 0) rather than urtw_stop(ifp, 1)

to stop the device.
This commit is contained in:
Kevin Lo 2009-02-06 15:27:40 +00:00
parent 3d33d453a0
commit 14fdb5561d

View File

@ -2076,7 +2076,7 @@ urtw_init(void *arg)
struct ifnet *ifp = sc->sc_ifp;
usbd_status error;
urtw_stop(ifp, 1);
urtw_stop(ifp, 0);
error = urtw_adapter_start(sc);
if (error != 0)