mirror of git://git.sysmocom.de/ofono
ublox: be explicit about lack of IPv6
The TOBY L4 has no IPv6 support whatsoever.
This commit is contained in:
parent
3a53f140cc
commit
819f89f955
|
@ -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);
|
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 */
|
/* IPv6 support not implemented */
|
||||||
if (ctx->proto != OFONO_GPRS_PROTO_IP) {
|
if (ctx->proto != OFONO_GPRS_PROTO_IP) {
|
||||||
CALLBACK_WITH_FAILURE(cb, data);
|
CALLBACK_WITH_FAILURE(cb, data);
|
||||||
|
|
Loading…
Reference in New Issue