]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Streamline detach logic in wlan drivers, so that
authorHans Petter Selasky <hselasky@FreeBSD.org>
Sun, 10 Feb 2013 10:36:16 +0000 (10:36 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Sun, 10 Feb 2013 10:36:16 +0000 (10:36 +0000)
commit645e4d17f0f07fba7dc76d63ccf2cff7095ceaf2
tree9ec1e57ea44ae0cc43af69ff7477f0997fb9ac53
parent9604a7f1b82fae840183432b7cefdb75913f0b23
- Streamline detach logic in wlan drivers, so that
  freed memory cannot be used during detach.
- Remove all panic() calls from the urtw driver because
  panic() is not appropriate here.
- Remove redundant checks for device detached in
  device detach callbacks.
- Use DEVMETHOD_END to mark end of device methods.

MFC after: 2 weeks
13 files changed:
sys/dev/usb/wlan/if_rum.c
sys/dev/usb/wlan/if_rumvar.h
sys/dev/usb/wlan/if_run.c
sys/dev/usb/wlan/if_runvar.h
sys/dev/usb/wlan/if_uath.c
sys/dev/usb/wlan/if_upgt.c
sys/dev/usb/wlan/if_upgtvar.h
sys/dev/usb/wlan/if_ural.c
sys/dev/usb/wlan/if_uralvar.h
sys/dev/usb/wlan/if_urtw.c
sys/dev/usb/wlan/if_urtwvar.h
sys/dev/usb/wlan/if_zyd.c
sys/dev/usb/wlan/if_zydreg.h