diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-12 13:11:27 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-04 11:15:19 +0000 |
commit | 30f0824ea1473f5d63a27fa4c8095a5b2858ee2d (patch) | |
tree | 6b808a5140700a4390c0359e48b64e9ad6fe04dd /src/kerneldevice | |
parent | 4fdf28bb56ec30c73de35cef270b787afa7ceaa7 (diff) |
huawei: apply GETPORTMODE hints to serial ports in order
The numbers associated to each port mode given by the AT^GETPORTMODE
response are not USB interface numbers, they are 'port numbers'.
Moreover, these numbers may start either at 0 or at 1, depending on
the firmware.
The only reasonable way to parse this response is to just gather the
order of all the port modes reported, and apply the modes to each
serial port found in the system in the same order.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/239
Diffstat (limited to 'src/kerneldevice')
0 files changed, 0 insertions, 0 deletions