aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorLubomir Rintel <[email protected]>2025-03-25 09:58:41 +0000
committerJakub Kicinski <[email protected]>2025-03-27 17:14:44 +0000
commit67d1a8956d2d62fe6b4c13ebabb57806098511d8 (patch)
treeee23118607aaea510a6390bcb00ee3cd7a6be3b8 /tools/testing/selftests/drivers/net/lib/py/env.py
parentrtnetlink: Allocate vfinfo size for VF GUIDs when supported (diff)
downloadkernel-67d1a8956d2d62fe6b4c13ebabb57806098511d8.tar.gz
kernel-67d1a8956d2d62fe6b4c13ebabb57806098511d8.zip
rndis_host: Flag RNDIS modems as WWAN devices
Set FLAG_WWAN instead of FLAG_ETHERNET for RNDIS interfaces on Mobile Broadband Modems, as opposed to regular Ethernet adapters. Otherwise NetworkManager gets confused, misjudges the device type, and wouldn't know it should connect a modem to get the device to work. What would be the result depends on ModemManager version -- older ModemManager would end up disconnecting a device after an unsuccessful probe attempt (if it connected without needing to unlock a SIM), while a newer one might spawn a separate PPP connection over a tty interface instead, resulting in a general confusion and no end of chaos. The only way to get this work reliably is to fix the device type and have good enough version ModemManager (or equivalent). Fixes: 63ba395cd7a5 ("rndis_host: support Novatel Verizon USB730L") Signed-off-by: Lubomir Rintel <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions