Commit d78f6642 authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik

s390: print correct level for HiperSockets devices

For real HiperSockets the EBCDIC-ASCII conversion is not necessary.
This is only needed for z/VM GuestLAN devices.
Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarFrank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 031ae4de
...@@ -7797,6 +7797,7 @@ qeth_print_status_message(struct qeth_card *card) ...@@ -7797,6 +7797,7 @@ qeth_print_status_message(struct qeth_card *card)
} }
/* fallthrough */ /* fallthrough */
case QETH_CARD_TYPE_IQD: case QETH_CARD_TYPE_IQD:
if (card->info.guestlan) {
card->info.mcl_level[0] = (char) _ebcasc[(__u8) card->info.mcl_level[0] = (char) _ebcasc[(__u8)
card->info.mcl_level[0]]; card->info.mcl_level[0]];
card->info.mcl_level[1] = (char) _ebcasc[(__u8) card->info.mcl_level[1] = (char) _ebcasc[(__u8)
...@@ -7806,6 +7807,7 @@ qeth_print_status_message(struct qeth_card *card) ...@@ -7806,6 +7807,7 @@ qeth_print_status_message(struct qeth_card *card)
card->info.mcl_level[3] = (char) _ebcasc[(__u8) card->info.mcl_level[3] = (char) _ebcasc[(__u8)
card->info.mcl_level[3]]; card->info.mcl_level[3]];
card->info.mcl_level[QETH_MCL_LENGTH] = 0; card->info.mcl_level[QETH_MCL_LENGTH] = 0;
}
break; break;
default: default:
memset(&card->info.mcl_level[0], 0, QETH_MCL_LENGTH + 1); memset(&card->info.mcl_level[0], 0, QETH_MCL_LENGTH + 1);
......
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