mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] qla2xxx: Check DFLG_NO_CABLE only on physical port.
As there is no actual cable connection on vports, made change so that the driver checks DFLG_NO_CABLE against ha->device_flags only for physical port. Signed-off-by: Seokmann Ju <[email protected]> Signed-off-by: Andrew Vasquez <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
d4486fd6de
commit
463717edc9
1 changed files with 2 additions and 1 deletions
|
|
@ -2577,7 +2577,8 @@ qla2x00_timer(scsi_qla_host_t *ha)
|
|||
set_bit(RESTART_QUEUES_NEEDED, &ha->dpc_flags);
|
||||
start_dpc++;
|
||||
|
||||
if (!(ha->device_flags & DFLG_NO_CABLE)) {
|
||||
if (!(ha->device_flags & DFLG_NO_CABLE) &&
|
||||
!ha->parent) {
|
||||
DEBUG(printk("scsi(%ld): Loop down - "
|
||||
"aborting ISP.\n",
|
||||
ha->host_no));
|
||||
|
|
|
|||
Loading…
Reference in a new issue