FreeCalypso > hg > fc-magnetite
diff src/g23m-aci/aci/cmh_sims.c @ 480:41f2cc21bca9
hybrid fw: code change to support allowing GSM APDUs in AT+CSIM
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jun 2018 06:27:16 +0000 |
parents | 53929b40109c |
children |
line wrap: on
line diff
--- a/src/g23m-aci/aci/cmh_sims.c Thu Jun 14 07:43:01 2018 +0000 +++ b/src/g23m-aci/aci/cmh_sims.c Tue Jun 19 06:27:16 2018 +0000 @@ -1308,6 +1308,7 @@ return( AT_BUSY ); } +#ifndef ALLOW_CSIM_GSM if (data[0] EQ GSM_CLASS) { /* GSM instruction class is not allowed */ @@ -1315,6 +1316,8 @@ ACI_ERR_DESC( ACI_ERR_CLASS_Cme, CME_ERR_OpNotAllow ); return( AT_FAIL ); } +#endif + #if 0 /* do we really need the check for the ATP source ? */ #ifdef _TARGET_ if (ati_is_src_type((UBYTE)srcId, ATI_SRC_TYPE_RIV) EQ FALSE)