modemmanager: reset to 'no' plmn if nothing is configured
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 5 Nov 2024 07:55:40 +0000 (08:55 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 15 Nov 2024 10:19:42 +0000 (11:19 +0100)
commit4488098bdca0edaadeec05b512553d8360cf1058
tree23ec2145029df9ed6e13b596aa65b674900f4c96
parent5ae505b1fede42e87b9407f4bfff87b48b5d9d44
modemmanager: reset to 'no' plmn if nothing is configured

If a configured 'plmn' is deleted from the configuration between a connection
setup, it will continue to be used because the modem remembers it.

Therefore, the 'plmn' stored in the modem must be deleted when a new
connection is established if it is no longer in the configuration.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit fa6198e36b77dadaeb8110d48ab456b82ce21815)
net/modemmanager/files/lib/netifd/proto/modemmanager.sh