[PATCH] [BUG] EMI2 wait-ack-expire fix
"Angel Fradejas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Attached an simple patch to fix a typo in the EMI2 driver, related to wait-ack-expire behaviour. Stipe, please, don't close your wincvs and keep on commiting ;-) Angel Fradejas Mediafusión España, S.A. [email protected] www.mediafusion.es Tel. +34 91 252 32 00 Fax +34 91 572 27 08
emi2_wait_ack_expire_fix.diff
(application/octet-stream, 874 B)
Index: gw/smsc/smsc_emi2.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc/smsc_emi2.c,v
retrieving revision 1.13
diff -u -r1.13 smsc_emi2.c
--- gw/smsc/smsc_emi2.c 21 Mar 2003 14:36:29 -0000 1.13
+++ gw/smsc/smsc_emi2.c 28 Mar 2003 16:11:30 -0000
@@ -1138,7 +1139,7 @@
/* Wake up this same thread to send again
* (simpler than avoiding sleep) */
gwthread_wakeup(PRIVDATA(conn)->sender_thread);
- } else if (PRIVDATA(conn)->waitack_expire == 0x03) {
+ } else if (PRIVDATA(conn)->waitack_expire == 0x02) {
// 0x02 - carry on waiting
warning(0, "EMI2[%s]: received neither ACK nor NACK for message %d "
"in %d seconds, carrying on waiting", octstr_get_cstr(privdata->name),