mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
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>
This commit is contained in:
parent
c302e3a1c8
commit
d7340f46be
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user