diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-28 22:16:59 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-31 09:58:29 +0000 |
| commit | 015663a3188727e2a16900cf5496c931770979a2 (patch) | |
| tree | 2b9855f90e4d496949aff99db79956f2b25a6873 /interface-definitions/include/generic-interface.xml.i | |
| parent | 153dd688b327c922ec4b371db1fdd11b8ee8cf9e (diff) | |
| download | vyos-1x-015663a3188727e2a16900cf5496c931770979a2.tar.gz vyos-1x-015663a3188727e2a16900cf5496c931770979a2.zip | |
wwan: T3871: stop reporting a modem as replaced hardware every boot
A modem that reports no permanent address is given a random one by its
driver at every probe. That address was read as if it identified the
hardware, so it never matched what was recorded and the modem was taken for
a different card in the same socket on each boot, warning the operator to
check a port nobody had touched. The map also kept being rewritten with the
address of the boot before, so it could never settle.
Keep no address for a modem, and compare one only where there is one. An
address recorded by an earlier version is dropped on the next pass, so a
machine already carrying one needs nothing done to it.
A card whose address really did change is still reported.
Diffstat (limited to 'interface-definitions/include/generic-interface.xml.i')
0 files changed, 0 insertions, 0 deletions
