Slark Xiao f542cdfa30 net: wwan: Fix MRU mismatch issue which may lead to data connection lost
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: 5c2c85315948 ("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>
2022-01-15 22:40:52 +00:00
..
2021-11-06 14:36:12 -07:00
2022-01-10 08:13:52 -08:00
2021-11-01 10:09:14 -07:00
2022-01-10 12:58:46 -08:00
2022-01-10 12:58:46 -08:00
2022-01-10 08:58:16 -08:00
2021-11-08 11:49:48 -08:00
2021-12-13 13:18:48 +05:30
2021-12-14 10:24:28 +01:00
2021-11-05 08:42:02 -07:00
2021-11-04 13:56:55 -07:00
2022-01-10 20:26:56 -08:00
2022-01-10 19:06:09 -08:00
2022-01-07 13:28:20 -08:00
2022-01-10 08:13:52 -08:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2022-01-10 20:34:00 -08:00
2021-10-26 19:12:01 +02:00
2022-01-10 08:13:52 -08:00
2021-11-10 10:56:02 -08:00
2021-12-16 14:48:27 +01:00
2022-01-10 18:55:43 -08:00
2022-01-10 12:58:46 -08:00
2021-11-08 12:07:52 -08:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2022-01-10 19:06:09 -08:00
2021-12-31 09:22:25 -08:00
2022-01-10 08:24:40 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 20:26:56 -08:00
2022-01-10 08:13:52 -08:00
2021-11-30 11:41:49 -07:00
2022-01-10 12:58:46 -08:00
2021-11-10 09:41:22 -08:00
2021-12-08 14:53:15 -05:00