diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2021-07-01 20:39:34 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-01 13:04:41 -0700 |
commit | d7340f46beae05227f5f4a1c8cb18e81e0c3fe0e (patch) | |
tree | 75142fdb7de114dccb7d34d20f4d33bbda7ce555 /drivers/net/wwan | |
parent | c302e3a1c86f78421d58ef564ba22519b0b039c0 (diff) | |
download | linux-d7340f46beae05227f5f4a1c8cb18e81e0c3fe0e.tar.bz2 |
net: wwan: iosm: set default mtu
Set netdev default mtu size to 1500.
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_wwan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_wwan.c b/drivers/net/wwan/iosm/iosm_ipc_wwan.c index e0c19c59c5f6..b2357ad5d517 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_wwan.c +++ b/drivers/net/wwan/iosm/iosm_ipc_wwan.c @@ -162,6 +162,7 @@ static void ipc_wwan_setup(struct net_device *iosm_dev) iosm_dev->priv_flags |= IFF_NO_QUEUE; iosm_dev->type = ARPHRD_NONE; + iosm_dev->mtu = ETH_DATA_LEN; iosm_dev->min_mtu = ETH_MIN_MTU; iosm_dev->max_mtu = ETH_MAX_MTU; |