Module Name: src Committed By: maxv Date: Sat Sep 14 12:40:31 UTC 2019
Modified Files: src/sys/dev/usb: if_urtw.c if_urtwreg.h Log Message: Fix error handling, to prevent kernel crashes when detaching an urtw0 device. Also, fail safely if we didn't recognize the RF chip, to prevent kernel crashes at attach time. Note that other panics are there, maybe they also should be removed. Found with vHCI. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/if_urtw.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/if_urtwreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.