The TOBY L4 has no IPv6 support whatsoever. --- drivers/ubloxmodem/gprs-context.c | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/drivers/ubloxmodem/gprs-context.c b/drivers/ubloxmodem/gprs-context.c index c5b789b6..ff78a42a 100644 --- a/drivers/ubloxmodem/gprs-context.c +++ b/drivers/ubloxmodem/gprs-context.c @@ -388,6 +388,14 @@ static void ublox_gprs_activate_primary(struct ofono_gprs_context *gc, { struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc); + if (ublox_is_toby_l4(gcd->model)) { + /* TOBY L4 does not support IPv6 */ + if (ctx->proto != OFONO_GPRS_PROTO_IP) { + CALLBACK_WITH_FAILURE(cb, data); + return; + } + } + /* IPv6 support not implemented */ if (ctx->proto != OFONO_GPRS_PROTO_IP) { CALLBACK_WITH_FAILURE(cb, data); -- 2.20.1 _______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono