[MM] [PATCH] broadband-modem: fix enable flag in UnsolicitedRegistrationEventsContext



---
 src/mm-broadband-modem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index 9d127c9..b3ec35a 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -3712,7 +3712,7 @@ unsolicited_registration_events_context_new (MMBroadbandModem *self,
                                              callback,
                                              user_data,
                                              unsolicited_registration_events_context_new);
-    ctx->enable = FALSE;
+    ctx->enable = enable;
     ctx->run_cs = cs_supported;
     ctx->run_ps = ps_supported;
     ctx->run_eps = eps_supported;
-- 
1.8.1.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]