modemmanager: move modemmanager_check_state failed and locked into sub functions
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 26 Sep 2024 08:14:16 +0000 (10:14 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 17 Oct 2024 16:29:16 +0000 (18:29 +0200)
commit64bd9e9d08040fa2d280d9c10536c58f47c3d87d
tree16aeef4d7368c4ff43469737d4ce758765091171
parentdced576bfe90021f74eed12c6bc6006c370b7782
modemmanager: move modemmanager_check_state failed and locked into sub functions

To make the source clearer, the program parts for the 'locked' and 'failed'
cases are outsourced to sub-functions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/files/lib/netifd/proto/modemmanager.sh