Commit a80b30ea authored by winckel's avatar winckel

Modified code format.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4948 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 3736324a
...@@ -325,7 +325,8 @@ void emm_main_initialize(emm_indication_callback_t cb, const char *imei) ...@@ -325,7 +325,8 @@ void emm_main_initialize(emm_indication_callback_t cb, const char *imei)
_usim_data.imsi.u.value[3], _usim_data.imsi.u.value[3],
_usim_data.imsi.u.value[4], _usim_data.imsi.u.value[4],
_usim_data.imsi.u.value[5], _usim_data.imsi.u.value[5],
_usim_data.imsi.u.value[6], _usim_data.imsi.u.value[7]); _usim_data.imsi.u.value[6],
_usim_data.imsi.u.value[7]);
memset(&_emm_data.nvdata.rplmn, 0xFF, sizeof(plmn_t)); memset(&_emm_data.nvdata.rplmn, 0xFF, sizeof(plmn_t));
_emm_data.nvdata.eplmn.n_plmns = 0; _emm_data.nvdata.eplmn.n_plmns = 0;
} }
......
...@@ -201,20 +201,20 @@ int decode_tracking_area_update_request(tracking_area_update_request_msg *tracki ...@@ -201,20 +201,20 @@ int decode_tracking_area_update_request(tracking_area_update_request_msg *tracki
case TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_IEI: case TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_IEI:
if ((decoded_result = if ((decoded_result =
decode_additional_update_type(&tracking_area_update_request->additionalupdatetype, decode_additional_update_type(&tracking_area_update_request->additionalupdatetype,
TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_IEI, TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_IEI,
buffer + decoded, len - decoded)) <= 0) buffer + decoded, len - decoded)) <= 0)
return decoded_result; return decoded_result;
decoded += decoded_result; decoded += decoded_result;
/* Set corresponding mask to 1 in presencemask */ /* Set corresponding mask to 1 in presencemask */
tracking_area_update_request->presencemask |= TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_PRESENT; tracking_area_update_request->presencemask |= TRACKING_AREA_UPDATE_REQUEST_ADDITIONAL_UPDATE_TYPE_PRESENT;
break; break;
case TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_IEI: case TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_IEI:
if ((decoded_result = if ((decoded_result =
decode_guti_type(&tracking_area_update_request->oldgutitype, decode_guti_type(&tracking_area_update_request->oldgutitype,
TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_IEI, TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_IEI,
buffer + decoded, len - decoded)) <= 0) buffer + decoded, len - decoded)) <= 0)
return decoded_result; return decoded_result;
decoded += decoded_result; decoded += decoded_result;
/* Set corresponding mask to 1 in presencemask */ /* Set corresponding mask to 1 in presencemask */
tracking_area_update_request->presencemask |= TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_PRESENT; tracking_area_update_request->presencemask |= TRACKING_AREA_UPDATE_REQUEST_OLD_GUTI_TYPE_PRESENT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment