diff options
author | Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> | 2024-08-02 01:54:44 +0200 |
---|---|---|
committer | Sebastian Krzyszkowiak <dos@dosowisko.net> | 2024-08-02 03:43:44 +0200 |
commit | 93c1e55d36bc3b90a0f38567fcfd5067ecb44351 (patch) | |
tree | 4dfff1494a15ded804c3857ef77640f3237aa490 /src/plugins/netprisma/mm-plugin-netprisma.c | |
parent | 388e8ea538f9a6b7984cd34b3f66f11a37bf1b25 (diff) |
mm-iface-modem: Always check properties for disabling signal polling
MMBroadbandModemQmi only disables signal polling once it successfully
sets the indication up. To do that, it sets the properties on
MMIfaceModem. This, however, doesn't actually disable polling, as the
property values are only checked once in get_private when Private
structure hasn't been created yet. Once that happens, only the cached
values are ever checked, and there's nothing that would update them.
Since there's only one place where these properties are checked, get
rid of cached bools in Private structure and instead read the property
values directly in periodic_signal_check_step, letting QMI modems
actually disable polling at runtime.
Diffstat (limited to 'src/plugins/netprisma/mm-plugin-netprisma.c')
0 files changed, 0 insertions, 0 deletions