diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2008-04-01 10:26:57 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-16 20:41:40 -0400 |
commit | b7624ec1cfaa1218320faa00a061b9891ed28997 (patch) | |
tree | 35ee72d11b7625ea8bb2b627333779f18bb850a6 | |
parent | 128837259912087101cd336226abc7ee3e8555b5 (diff) | |
download | linux-b7624ec1cfaa1218320faa00a061b9891ed28997.tar.gz linux-b7624ec1cfaa1218320faa00a061b9891ed28997.tar.bz2 linux-b7624ec1cfaa1218320faa00a061b9891ed28997.zip |
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.c | 1 |
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 | |