Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.
---
 plugins/n900.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/n900.c b/plugins/n900.c
index 5b3a496..3d27b58 100644
--- a/plugins/n900.c
+++ b/plugins/n900.c
@@ -448,7 +448,7 @@ static void n900_set_online(struct ofono_modem *modem,
        struct isi_cb_data *cbd = isi_cb_data_new(modem, cb, data);
        const uint8_t req[] = {
                MTC_STATE_REQ,
-               online ? MTC_NORMAL : MTC_RF_INACTIVE,
+               online ? MTC_NORMAL : MTC_RF_INACTIVE, 0
        };
 
        DBG("(%p) with %s", modem, isi->ifname);
-- 
1.7.0.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to