WSL2-Linux-Kernel/drivers/net/wwan
Slark Xiao c2d55304db net: wwan: Fix MRU mismatch issue which may lead to data connection lost
commit f542cdfa30 upstream.

In pci_generic.c there is a 'mru_default' in struct mhi_pci_dev_info.
This value shall be used for whole mhi if it's given a value for a specific product.
But in function mhi_net_rx_refill_work(), it's still using hard code value MHI_DEFAULT_MRU.
'mru_default' shall have higher priority than MHI_DEFAULT_MRU.
And after checking, this change could help fix a data connection lost issue.

Fixes: 5c2c853159 ("bus: mhi: pci-generic: configurable network interface MRU")
Signed-off-by: Shujun Wang <wsj20369@163.com>
Signed-off-by: Slark Xiao <slark_xiao@163.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 11:05:40 +01:00
..
iosm Networking stragglers and fixes for 5.15-rc1, including changes from netfilter, 2021-09-07 14:02:58 -07:00
Kconfig net: wwan: Add MHI MBIM network driver 2021-08-04 10:10:12 +01:00
Makefile net: wwan: Add MHI MBIM network driver 2021-08-04 10:10:12 +01:00
mhi_wwan_ctrl.c Revert "net: really fix the build..." 2021-08-26 11:08:32 -07:00
mhi_wwan_mbim.c net: wwan: Fix MRU mismatch issue which may lead to data connection lost 2022-01-27 11:05:40 +01:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-13 06:41:22 -07:00
wwan_hwsim.c wwan: core: support default netdev creation 2021-06-22 10:01:16 -07:00