summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2008-04-01 12:26:57 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 04:41:40 +0400
commitb7624ec1cfaa1218320faa00a061b9891ed28997 (patch)
tree35ee72d11b7625ea8bb2b627333779f18bb850a6
parent128837259912087101cd336226abc7ee3e8555b5 (diff)
downloadlinux-b7624ec1cfaa1218320faa00a061b9891ed28997.tar.xz
qeth: layer 3 do not allow to change mac address
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>
-rw-r--r--drivers/s390/net/qeth_l3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 1013a2a8ec00..e95220a2638d 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -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 |