From: Carsten Otte This patch fixes a problem that occurs when switching from layer 3 to layer 2 mode. Resetting this mac_bits makes sure that we retrieve our mac address from the card, otherwise the interface simply would'nt work. Signed-off-by: Carsten Otte Signed-off-by: Frank Blaschka --- drivers/s390/net/qeth_core_sys.c | 1 + 1 file changed, 1 insertion(+) diff -urpN linux-2.6/drivers/s390/net/qeth_core_sys.c linux-2.6-patched/drivers/s390/net/qeth_core_sys.c --- linux-2.6/drivers/s390/net/qeth_core_sys.c 2010-07-22 10:22:12.000000000 +0200 +++ linux-2.6-patched/drivers/s390/net/qeth_core_sys.c 2010-07-22 10:22:34.000000000 +0200 @@ -433,6 +433,7 @@ static ssize_t qeth_dev_layer2_store(str if (card->options.layer2 == newdis) goto out; else { + card->info.mac_bits = 0; if (card->discipline.ccwgdriver) { card->discipline.ccwgdriver->remove(card->gdev); qeth_core_free_discipline(card); -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html