diff options
author | Frank Pavlic <fpavlic@de.ibm.com> | 2006-03-22 10:03:44 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-22 20:29:30 -0500 |
commit | def720e6166f49027c45286088d1e22743666ca3 (patch) | |
tree | 564752907159a211b60890c4d8b2abaf9322acf1 /drivers | |
parent | 1380fee2b553fbde1a094476685f43ec5625aec2 (diff) |
[PATCH] s390: qeth :allow setting of attribute "route6" to "no_router".
[patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router".
From: Ursula Braun <braunu@de.ibm.com>
when setting route6 attribute back to no_router qeth does not
issue an IP ASSIST command to reset router value to no_router.
Once primary_router is set device stays in this mode.
Issue an IP ASSIST command when no_router is set in route6.
Device will be reset and thus will not longer run as a primary
router.
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
diffstat:
qeth_main.c | 5 -----
1 files changed, 5 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/net/qeth_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 69329ea61e2b..021cd5d08c61 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -7339,11 +7339,6 @@ qeth_setrouting_v6(struct qeth_card *card) | |||
7339 | qeth_correct_routing_type(card, &card->options.route6.type, | 7339 | qeth_correct_routing_type(card, &card->options.route6.type, |
7340 | QETH_PROT_IPV6); | 7340 | QETH_PROT_IPV6); |
7341 | 7341 | ||
7342 | if ((card->options.route6.type == NO_ROUTER) || | ||
7343 | ((card->info.type == QETH_CARD_TYPE_OSAE) && | ||
7344 | (card->options.route6.type == MULTICAST_ROUTER) && | ||
7345 | !qeth_is_supported6(card,IPA_OSA_MC_ROUTER))) | ||
7346 | return 0; | ||
7347 | rc = qeth_send_setrouting(card, card->options.route6.type, | 7342 | rc = qeth_send_setrouting(card, card->options.route6.type, |
7348 | QETH_PROT_IPV6); | 7343 | QETH_PROT_IPV6); |
7349 | if (rc) { | 7344 | if (rc) { |