Skip to contentSkip to conversation

net: wwan: iosm: set default mtu

PATCH Superseded M Chetan Kumar 1 participant 1 message Jun 30, 2021

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 net: wwan: iosm: set default mtu

Set netdev default mtu size to 1500.

---
 drivers/net/wwan/iosm/iosm_ipc_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wwan/iosm/iosm_ipc_wwan.c +1 -0
index 561944a33725..b554da21659c 100644
@@ -161,6 +161,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;
 
Signature · 1 line
2.25.1