modemmanager: add missing interface argument to function modemmanager_check_state
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 26 Sep 2024 08:16:13 +0000 (10:16 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 17 Oct 2024 16:29:16 +0000 (18:29 +0200)
commitcdda99899697598c17ff341470254530f4d4a026
treeccfef783fb0ea410edf1bffaea8af1e4f0d32a53
parent64bd9e9d08040fa2d280d9c10536c58f47c3d87d
modemmanager: add missing interface argument to function modemmanager_check_state

The variable interface is used in the sub-function 'modemmanager_check_state'.
However, this is not an argument of the function and so the global value
is used. Addding the variable as an function call argument fixes this.

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