mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[SCSI] iscsi_transport: Added error status code for ping comp event
Defined error codes for ping completion status. This patch take care of Mike Christie's commets Signed-off-by: Vikas Chaudhary <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
e16d166e4f
commit
1a590cabc2
2 changed files with 18 additions and 3 deletions
|
|
@ -431,9 +431,9 @@ static void qla4xxx_mbox_status_entry(struct scsi_qla_host *ha,
|
|||
mbox_sts_entry->out_mbox[6]));
|
||||
|
||||
if (mbox_sts_entry->out_mbox[0] == MBOX_STS_COMMAND_COMPLETE)
|
||||
status = QLA_SUCCESS;
|
||||
status = ISCSI_PING_SUCCESS;
|
||||
else
|
||||
status = QLA_ERROR;
|
||||
status = mbox_sts_entry->out_mbox[6];
|
||||
|
||||
data_size = sizeof(mbox_sts_entry->out_mbox);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue