The SARA R4 modem detaches permanently from the network when the NAS
Detach action is called. This is problematic because ofono calls Detach
when network connectivity is temporarily lost resulting in the modem
never attempting to reattach again when the network once again becomes
available.
---
drivers/qmimodem/gprs.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/qmimodem/gprs.c b/drivers/qmimodem/gprs.c
index 896a9e4c..fa20b809 100644
--- a/drivers/qmimodem/gprs.c
+++ b/drivers/qmimodem/gprs.c
@@ -26,6 +26,7 @@
#include
#include
#include
+#include