[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnokii/common gsm-statemachine.c,1.51,1.52
From: |
BORBELY Zoltan <address@hidden> |
Subject: |
gnokii/common gsm-statemachine.c,1.51,1.52 |
Date: |
Mon, 17 Nov 2003 23:02:12 +0000 |
Update of /cvsroot/gnokii/gnokii/common
In directory subversions:/tmp/cvs-serv19706/common
Modified Files:
gsm-statemachine.c
Log Message:
too many lost reply caused phone lockups
Index: gsm-statemachine.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/gsm-statemachine.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** gsm-statemachine.c 14 Jun 2003 13:00:30 -0000 1.51
--- gsm-statemachine.c 17 Nov 2003 23:02:08 -0000 1.52
***************
*** 44,49 ****
if (state->current_state != GN_SM_Startup) {
#ifdef DEBUG
! dump("Message sent: ");
! sm_message_dump(messagetype, message, messagesize);
#endif
state->last_msg_size = messagesize;
--- 44,49 ----
if (state->current_state != GN_SM_Startup) {
#ifdef DEBUG
! dump("Message sent: ");
! sm_message_dump(messagetype, message, messagesize);
#endif
state->last_msg_size = messagesize;
***************
*** 251,254 ****
--- 251,256 ----
if (s == GN_SM_ResponseReceived) return sm_error_get(waitfor, state);
+ sm_reset(state);
+
return GN_ERR_TIMEOUT;
}
***************
*** 312,315 ****
--- 314,319 ----
if (err != GN_ERR_NONE) return err;
}
+
+ sm_reset(state);
return GN_ERR_TIMEOUT;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnokii/common gsm-statemachine.c,1.51,1.52,
BORBELY Zoltan <address@hidden> <=