~ubuntu-branches/ubuntu/wily/modemmanager/wily

« back to all changes in this revision

Viewing changes to src/mm-modem-helpers-qmi.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2013-12-20 15:35:26 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131220153526-j3xu9gp51ltzlizc
Tags: 1.0.0-1
* New upstream release. (Closes: #728214, #728215)
* debian/control: add a versioned dependency for libqmi -- we need at least
  version 1.4.
* debian/control: build-depends on libmbim-glib-dev 1.4
* debian/rules: run the local autogen.sh rather than gnome-autogen.sh.
* debian/rules: drop --with-tests. 
* debian/rules: clean up after gtk-doc files left around.
* debian/patches/glib_fixes.patch: link against glib explicitly for the
  huawei modem helper tests.
* debian/libmm-glib0.symbols: updated symbols.
* debian/watch: update watch file for new location of upstream source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
955
955
QmiNasRadioTechnologyPreference
956
956
mm_modem_capability_to_qmi_radio_technology_preference (MMModemCapability caps)
957
957
{
958
 
    QmiNasRatModePreference qmi = 0;
 
958
    QmiNasRadioTechnologyPreference qmi = 0;
959
959
 
960
960
    /* It is not expected to have a modem supporting 3GPP and 3GPP2 at the same
961
961
     * time but not supporting SSP. */
1079
1079
    mm_dbg ("Unhandled modem mode: '%s'", str);
1080
1080
    g_free (str);
1081
1081
 
1082
 
    return MM_MODEM_MODE_NONE;
 
1082
    return QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_AUTOMATIC;
1083
1083
}
1084
1084
 
1085
1085
/*****************************************************************************/
1093
1093
        return MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN;
1094
1094
 
1095
1095
    if (attach_state == QMI_NAS_ATTACH_STATE_DETACHED)
1096
 
        return QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED;
 
1096
        return MM_MODEM_3GPP_REGISTRATION_STATE_IDLE;
1097
1097
 
1098
1098
    /* attached */
1099
1099