I'm a dumbass: the test in the MOD_SHUTDOWN case in ndis_modevent()
that checks to see if any devices are still in the devlist was reversed.
This commit is contained in:
parent
3ccc038a0b
commit
c5d019ec55
@ -150,7 +150,7 @@ ndis_modevent(module_t mod, int cmd, void *arg)
|
||||
case MOD_SHUTDOWN:
|
||||
/* stop kthreads */
|
||||
ndis_destroy_kthreads();
|
||||
if (TAILQ_FIRST(&ndis_devhead) != NULL) {
|
||||
if (TAILQ_FIRST(&ndis_devhead) == NULL) {
|
||||
/* Shut down subsystems */
|
||||
ndis_libfini();
|
||||
ntoskrnl_libfini();
|
||||
|
Loading…
x
Reference in New Issue
Block a user