summaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1999-11-01 04:39:52 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1999-11-01 04:39:52 +0000
commitfdc79fd3fc1cdeadfe1dfad2019afc3a07a802ab (patch)
tree3b2a5fe1245d9596f6c9dc1ff4e37376e8ee40f6 /sys/dev/isp/isp.c
parentfd27f1594ea178a84c42153118b3e672f77009a3 (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp.c')
-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 a6a71617e0dc..f268ab5b0ae5 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 */