diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2019-01-04 13:26:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-04 13:35:42 -0800 |
commit | f87118d5760f00af7228033fbe783c7f380d2866 (patch) | |
tree | 333e630dbf30a620d7e6ed307efb685c4996d10b /drivers/net/usb/qmi_wwan.c | |
parent | 75e7fb0a87a11c085a58ce583be3f4b1369584e7 (diff) | |
download | linux-f87118d5760f00af7228033fbe783c7f380d2866.tar.gz linux-f87118d5760f00af7228033fbe783c7f380d2866.tar.bz2 linux-f87118d5760f00af7228033fbe783c7f380d2866.zip |
qmi_wwan: add MTU default to qmap network interface
This patch adds MTU default value to qmap network interface in
order to avoid "RTNETLINK answers: No buffer space available"
error when setting an ipv6 address.
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/qmi_wwan.c')
-rw-r--r-- | drivers/net/usb/qmi_wwan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 774e1ff01c9a..735ad838e2ba 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -123,6 +123,7 @@ static void qmimux_setup(struct net_device *dev) dev->addr_len = 0; dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST; dev->netdev_ops = &qmimux_netdev_ops; + dev->mtu = 1500; dev->needs_free_netdev = true; } |