querying lock facility crashes broadband modem



Hi,

several "older" option broadband modems crash after the lock facility MM_MODEM_3GPP_FACILITY_PH_SIM is queried via AT commands.
After that the USB serial ports doesn't respond anymore.
I'm shure there is a better place to fix this problem than my rude hack.

best regards
Harald

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0af0 ProdID=6600 Rev=00.01
S:  Manufacturer=Option N.V.
S:  Product=GlobeTrotter 3G+ Module
S:  SerialNumber=Serial Number
C:  #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option

--- mm-broadband-modem.c~    2013-07-19 07:41:30.000000000 +0200
+++ mm-broadband-modem.c    2013-11-06 19:22:33.000000000 +0100
@@ -3309,6 +3309,8 @@
         return;
     }

+    ctx->facilities &= ~MM_MODEM_3GPP_FACILITY_PH_SIM;
+
     /* Ignore facility locks specified by the plugins */
if (MM_BROADBAND_MODEM (self)->priv->modem_3gpp_ignored_facility_locks) {
         gchar *str;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]