broadband-modem: check for 3GPP using capabilities, not availability of the interface

This commit is contained in:
Aleksander Morgado
2011-12-31 12:46:10 +01:00
parent e107528f87
commit 89646f2b64

View File

@@ -125,7 +125,7 @@ modem_create_bearer (MMIfaceModem *self,
* configured in the modem. Use 3GPP for testing now */
/* New 3GPP bearer */
if (MM_BROADBAND_MODEM (self)->priv->modem_3gpp_dbus_skeleton) {
if (mm_iface_modem_is_3gpp (self)) {
bearer = mm_iface_modem_3gpp_create_bearer (MM_IFACE_MODEM_3GPP (self),
properties,
&error);