]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/atm/lec.c
atm: lec use dev_change_mtu
[karo-tx-linux.git] / net / atm / lec.c
index c0cba9a037e842d92ac7116907b21c950b001b2d..199b6bb79f429aadeaf6a26ad6c3b65d200d1644 100644 (file)
@@ -502,7 +502,7 @@ static int lec_atm_send(struct atm_vcc *vcc, struct sk_buff *skb)
                priv->lane2_ops = NULL;
                if (priv->lane_version > 1)
                        priv->lane2_ops = &lane2_ops;
-               if (dev->change_mtu(dev, mesg->content.config.mtu))
+               if (dev_set_mtu(dev, mesg->content.config.mtu))
                        printk("%s: change_mtu to %d failed\n", dev->name,
                               mesg->content.config.mtu);
                priv->is_proxy = mesg->content.config.is_proxy;