cvs commit: src/sys/dev/wi if_wi.c

Warner Losh imp at FreeBSD.org
Fri Aug 5 04:56:15 GMT 2005


imp         2005-08-05 04:56:14 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/wi           if_wi.c 
  Log:
  When the MAC address is reported all zeros, then error is necessarily
  0.  This means that we 'succeed' the attach, even after we've freed
  the internal data bits.  This leads to a panic when you eject the card
  with this problem.
  
  Set error = ENXIO in the mac read zeros case.
  
  Revision  Changes    Path
  1.183     +3 -1      src/sys/dev/wi/if_wi.c


More information about the cvs-all mailing list