aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2022-03-31 21:16:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-04-16 14:02:11 +0200
commitb2940bb8b2878ce193f2edaee3e7d4c44f4a2065 (patch)
tree62a9122c726cbd2c43237f0f2e113dd4fd357ed4 /target/linux
parenta67629bbe25ef3d0e159db1e0c6ca81affd06898 (diff)
downloadupstream-b2940bb8b2878ce193f2edaee3e7d4c44f4a2065.tar.gz
upstream-b2940bb8b2878ce193f2edaee3e7d4c44f4a2065.tar.bz2
upstream-b2940bb8b2878ce193f2edaee3e7d4c44f4a2065.zip
comgt: ncm: select first available network interface for device
Some modems expose multiple network interfaces on the same USB device, causing the connection setup script to fail, because glob matching in the detection phase causes 'ls' to output more than one interface name plus their base directories in sysfs. Avoid that by listing the directories explicitly and then selecting first available interface. This is the case for some variants of ZTE MF286R built-in modem, which exposes both RNDIS and CDC-ECM network interfaces, causing the connection setup to fail. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions