modemmanager: Remove hardcoded proto check
authorOliver Sedlbauer <redacted>
Fri, 11 Aug 2023 10:18:32 +0000 (12:18 +0200)
committerOliver Sedlbauer <redacted>
Fri, 1 Sep 2023 12:07:05 +0000 (14:07 +0200)
commit29590e5d6dc03f4cbe2bdd8eedf9f409cf97af31
tree06a49fca9f93d9fe27394e8c33fbe57342b044ba
parent4299e892def0812ba904aa8e662e3608f8198610
modemmanager: Remove hardcoded proto check

Modified the code to correctly determine modem availability based on the
sysfs path provided in the 'device' option, instead of relying  on the
'proto' value. This ensures proper configuration for custom-made protos
that do not match the "modemmanager" identifier.

Signed-off-by: Oliver Sedlbauer <redacted>
net/modemmanager/Makefile
net/modemmanager/files/modemmanager.common
git clone https://git.99rst.org/PROJECT