diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index da069131d..e3fc4eca8 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -845,7 +845,7 @@ scsi_target_enadis(bus_t *bp, int en) memset(&ec, 0, sizeof (ec)); ec.en_hba = bp->h.r_identity; - ec.en_tgt = TGT_ANY; + ec.en_chan = 0; if (bp->h.r_type == R_FC) { SDprintk("%s: ANY LUN acceptable\n", __FUNCTION__); ec.en_lun = LUN_ANY;