FreeCalypso > hg > freecalypso-sw
diff gsm-fw/g23m-gsm/ss/ss_ss.c @ 772:6791a13c0673
ss_ss.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 12 Oct 2014 00:54:04 +0000 |
parents | 2f7df7a314f8 |
children |
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/ss/ss_ss.c Sun Oct 12 00:49:49 2014 +0000 +++ b/gsm-fw/g23m-gsm/ss/ss_ss.c Sun Oct 12 00:54:04 2014 +0000 @@ -22,6 +22,10 @@ #ifndef SS_SS_C #define SS_SS_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_SS /*==== INCLUDES ===================================================*/ @@ -140,7 +144,7 @@ switch (GET_SS_STATE(ss_data->ss_state,ss_data->ti)) { case SS_CONNECTION_PENDING: - PFREE (P2D(ss_data->prim[ss_data->ti])); + PFREE (P2D(ss_data->prim[ss_data->ti])); ss_data->prim[ss_data->ti] = NULL; /*FALLTHROUGH*/ case SS_CONNECTED: @@ -162,7 +166,6 @@ PSENDX (MM, mmss_release_req); } - MM_EM_MM_CONNECTION_ABORTED; break; @@ -265,7 +268,7 @@ switch (GET_SS_STATE(ss_data->ss_state,ss_data->ti)) { case SS_CONNECTION_PENDING: - PFREE (P2D(ss_data->prim[ss_data->ti])); + PFREE (P2D(ss_data->prim[ss_data->ti])); ss_data->prim[ss_data->ti] = NULL; MM_EM_MM_CONNECTION_FAILED; @@ -523,7 +526,6 @@ } MM_EM_MM_RELEASE_COMPLETE_RECEIVED; - } break; @@ -755,8 +757,8 @@ ss_err EQ CAUSE_MESSAGE_TYPE_NOT_IMPLEM OR ss_err EQ ERR_INVALID_MID OR ss_err EQ CAUSE_SERVICE_NOT_IMPLEM ) - return (TRUE); + return (TRUE); else - return (FALSE); + return (FALSE); } #endif /* #ifndef SS_SS_C */