Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195138
b: refs/heads/master
c: 65a1f89
h: refs/heads/master
v: v3
  • Loading branch information
Ursula Braun authored and David S. Miller committed May 16, 2010
1 parent 0c2495e commit beab0a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6b85b6c42ccc20316a25f6ccbe7a984c5a1304d
refs/heads/master: 65a1f898efac136aeea65509e61ac6cdecd4f6bf
10 changes: 9 additions & 1 deletion trunk/drivers/s390/net/qeth_core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1976,15 +1976,23 @@ static int qeth_ulp_setup_cb(struct qeth_card *card, struct qeth_reply *reply,
unsigned long data)
{
struct qeth_cmd_buffer *iob;
int rc = 0;

QETH_DBF_TEXT(SETUP, 2, "ulpstpcb");

iob = (struct qeth_cmd_buffer *) data;
memcpy(&card->token.ulp_connection_r,
QETH_ULP_SETUP_RESP_CONNECTION_TOKEN(iob->data),
QETH_MPC_TOKEN_LENGTH);
if (!strncmp("00S", QETH_ULP_SETUP_RESP_CONNECTION_TOKEN(iob->data),
3)) {
QETH_DBF_TEXT(SETUP, 2, "olmlimit");
dev_err(&card->gdev->dev, "A connection could not be "
"established because of an OLM limit\n");
rc = -EMLINK;
}
QETH_DBF_TEXT_(SETUP, 2, " rc%d", iob->rc);
return 0;
return rc;
}

static int qeth_ulp_setup(struct qeth_card *card)
Expand Down

0 comments on commit beab0a0

Please sign in to comment.