Commit 3a5bad64 authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

s390/qeth: don't re-start read cmd when IDX has terminated

Once the IDX connection is down, there's no point in trying to issue
more IOs.
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7f23d55f
...@@ -742,7 +742,7 @@ static void qeth_issue_next_read_cb(struct qeth_card *card, ...@@ -742,7 +742,7 @@ static void qeth_issue_next_read_cb(struct qeth_card *card,
/* fall through */ /* fall through */
default: default:
qeth_clear_ipacmd_list(card); qeth_clear_ipacmd_list(card);
goto out; goto err_idx;
} }
cmd = __ipa_reply(iob); cmd = __ipa_reply(iob);
...@@ -795,8 +795,9 @@ static void qeth_issue_next_read_cb(struct qeth_card *card, ...@@ -795,8 +795,9 @@ static void qeth_issue_next_read_cb(struct qeth_card *card,
memcpy(&card->seqno.pdu_hdr_ack, memcpy(&card->seqno.pdu_hdr_ack,
QETH_PDU_HEADER_SEQ_NO(iob->data), QETH_PDU_HEADER_SEQ_NO(iob->data),
QETH_SEQ_NO_LENGTH); QETH_SEQ_NO_LENGTH);
qeth_put_cmd(iob);
__qeth_issue_next_read(card); __qeth_issue_next_read(card);
err_idx:
qeth_put_cmd(iob);
} }
static int qeth_set_thread_start_bit(struct qeth_card *card, static int qeth_set_thread_start_bit(struct qeth_card *card,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment