gsm: ensure solicited access technology is valid before using it

This commit is contained in:
Dan Williams
2010-03-26 00:16:24 -07:00
parent 843a772b4c
commit 3d12055818
+1 -1
View File
@@ -1498,7 +1498,7 @@ get_reg_act_done (MMModem *modem,
GError *error,
gpointer user_data)
{
if (modem && !error)
if (modem && !error && act)
mm_generic_gsm_update_access_technology (MM_GENERIC_GSM (modem), act);
}