summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1999-11-01 04:39:52 +0000
committermjacob <mjacob@FreeBSD.org>1999-11-01 04:39:52 +0000
commit87613566270d4d5972427a3777ee6b48f03466ed (patch)
tree3b2a5fe1245d9596f6c9dc1ff4e37376e8ee40f6 /sys
parent79f6318ee43fcbbcce62739cca93e69372f18f50 (diff)
downloadFreeBSD-src-87613566270d4d5972427a3777ee6b48f03466ed.zip
FreeBSD-src-87613566270d4d5972427a3777ee6b48f03466ed.tar.gz
correct moronic typo
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/isp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index a6a7161..f268ab5 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -484,12 +484,12 @@ again:
* whether we have f/w at all and whether a config flag
* has disabled our download.
*/
- if ((isp->isp_mdvec->dv_ispfw != NULL) ||
+ if ((isp->isp_mdvec->dv_ispfw == NULL) ||
(isp->isp_confopts & ISP_CFG_NORELOAD)) {
dodnld = 0;
}
- if (dodnld && isp->isp_mdvec->dv_ispfw) {
+ if (dodnld) {
u_int16_t fwlen = isp->isp_mdvec->dv_fwlen;
if (fwlen == 0)
fwlen = isp->isp_mdvec->dv_ispfw[3]; /* usually here */
OpenPOWER on IntegriCloud