ublox: do not set bridge mode for TOBY L2

Trying to set the networking mode to "bridge" mode in the plugin is bogus
because the setting does not apply until after the device has been
reset.  Instead, the current setting should be queried.

If a user wants to set the modem networking mode, the setting should be
made outside of ofono.

The gprs-context driver has already been adjusted to query the
networking mode and to set things up accordingly.
This commit is contained in:
Jonas Bonn 2019-03-14 23:28:43 +01:00 committed by Denis Kenzior
parent a55e797ba2
commit 9cba079221
1 changed files with 0 additions and 5 deletions

View File

@ -145,11 +145,6 @@ static void cfun_enable(gboolean ok, GAtResult *result, gpointer user_data)
return;
}
if (data->flags & UBLOX_DEVICE_F_HIGH_THROUGHPUT_MODE)
/* use bridged mode until routed mode support is added */
g_at_chat_send(data->aux, "AT+UBMCONF=2", none_prefix,
NULL, NULL, NULL);
ofono_modem_set_powered(modem, TRUE);
}