cvs commit: src/sys/dev/usb ulpt.c

From: Ian Dowse <iedowse_at_FreeBSD.org>
Date: Sun, 15 Jun 2003 04:55:50 -0700 (PDT)
iedowse     2003/06/15 04:55:50 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ulpt.c 
  Log:
  If the device goes away during ulpt_reset(), make sure not to call
  ulpt_status() afterwards. This fixes a crash that can occur if a
  USB printer is power-cycled when printing is just starting. The
  problem is similar to that fixed in revision 1.33, but it is much
  less likely to occur.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.56      +7 -1      src/sys/dev/usb/ulpt.c
Received on Sun Jun 15 2003 - 04:55:51 UTC