diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-03-11 09:50:00 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-03-11 09:50:00 +0000 |
commit | 74a2897640b9121450f8650c93e255fd938e9656 (patch) | |
tree | 4fc1e1971fe09fbfa3848e6ed962dab34f121337 /sys/compat | |
parent | f068497517107ea9f712610803e00625af1cff99 (diff) | |
download | FreeBSD-src-74a2897640b9121450f8650c93e255fd938e9656.zip FreeBSD-src-74a2897640b9121450f8650c93e255fd938e9656.tar.gz |
Fix mind-o: sanity check in ndis_disable_ndis() is not sane.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ndis/kern_ndis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/ndis/kern_ndis.c b/sys/compat/ndis/kern_ndis.c index ec771c6..8cc3a18 100644 --- a/sys/compat/ndis/kern_ndis.c +++ b/sys/compat/ndis/kern_ndis.c @@ -1293,7 +1293,7 @@ ndis_disable_intr(arg) adapter = sc->ndis_block.nmb_miniportadapterctx; intrdisfunc = sc->ndis_chars.nmc_disable_interrupts_func; NDIS_UNLOCK(sc); - if (adapter == NULL || intrdisfunc) + if (adapter == NULL || intrdisfunc == NULL) return; intrdisfunc(adapter); |