qeth: layer 3 do not allow to change mac address
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Tue, 1 Apr 2008 08:26:57 +0000 (10:26 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:41:40 +0000 (20:41 -0400)
hw does not allow to change the mac address.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/s390/net/qeth_l3_main.c

index 1013a2a8ec0094c231745c964352686a0adc2d69..e95220a2638d4205d17040caf77a5b65d7360735 100644 (file)
@@ -2961,6 +2961,7 @@ static int qeth_l3_setup_netdev(struct qeth_card *card)
        card->dev->vlan_rx_add_vid = qeth_l3_vlan_rx_add_vid;
        card->dev->vlan_rx_kill_vid = qeth_l3_vlan_rx_kill_vid;
        card->dev->mtu = card->info.initial_mtu;
+       card->dev->set_mac_address = NULL;
        SET_ETHTOOL_OPS(card->dev, &qeth_l3_ethtool_ops);
        card->dev->features |=  NETIF_F_HW_VLAN_TX |
                                NETIF_F_HW_VLAN_RX |