qmi: always use DHCP for IPv4 configuration instead of STATIC
Some newer modems (Huawei E1750, Sierra 73xx) provide what looks like legitimate static IPv4 configuration through the WDSGetCurrentSettings call, but when configured the interface does not pass traffic. Running DHCP on the same interface provides a slightly different IPv4 configuration but does allow traffic to pass. Since QMI was switched to static originally for consistency with IPv6 and for speed of IP configuration (since DHCP takes a bit of time), but not for any known problems with modems, let's switch back to DHCP until we have time to figure out what's actually going on.
This commit is contained in:
@@ -318,7 +318,7 @@ modem_create_bearer (MMIfaceModem *self,
|
||||
|
||||
/* We just create a MMBearerQmi */
|
||||
mm_dbg ("Creating QMI bearer in QMI modem");
|
||||
bearer = mm_bearer_qmi_new (MM_BROADBAND_MODEM_QMI (self), properties, FALSE);
|
||||
bearer = mm_bearer_qmi_new (MM_BROADBAND_MODEM_QMI (self), properties, TRUE);
|
||||
g_simple_async_result_set_op_res_gpointer (result, bearer, g_object_unref);
|
||||
g_simple_async_result_complete_in_idle (result);
|
||||
g_object_unref (result);
|
||||
|
Reference in New Issue
Block a user