gsm: fix inifinite in ETSI tech -> MM tech conversion function

This commit is contained in:
Dan Williams
2010-03-09 11:29:04 -08:00
parent 2f925599c0
commit 076b5df1bc

View File

@@ -2216,6 +2216,7 @@ etsi_act_to_mm_act (gint act)
while (iter->mm_act != MM_MODEM_GSM_ACCESS_TECH_UNKNOWN) {
if (iter->etsi_act == act)
return iter->mm_act;
iter++;
}
return MM_MODEM_GSM_ACCESS_TECH_UNKNOWN;
}