broadband-modem-mbim: ensure cached state info is reseted on disable

So that it is reloaded fresh once re-enabled, otherwise we may be
using stale state values that are not in sync with the state reported
in the interface skeletons.
This commit is contained in:
Aleksander Morgado
2023-05-03 12:38:43 +00:00
parent 22c4d88a24
commit f922a6be2d
2 changed files with 46 additions and 18 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ config_h.set('WITH_BUILTIN_PLUGINS', enable_builtin_plugins)
# MBIM support (enabled by default)
enable_mbim = get_option('mbim')
if enable_mbim
mbim_glib_dep = dependency('mbim-glib', version: '>= 1.29.2')
mbim_glib_dep = dependency('mbim-glib', version: '>= 1.29.5')
endif
config_h.set('WITH_MBIM', enable_mbim)