Browse Source

Increase emm recv errors limit to 100.

Georgi Chorbadzhiyski 12 years ago
parent
commit
f603a99efb
2 changed files with 1 additions and 3 deletions
  1. 0
    2
      camd.c
  2. 1
    1
      data.h

+ 0
- 2
camd.c View File

@@ -298,8 +298,6 @@ static int camd35_send_emm(struct ts *ts, uint16_t ca_id, uint8_t *data, uint8_t
298 298
 			ts_LOGf("ERR | Error sending emm packet, reconnecting to camd.\n");
299 299
 			camd35_reconnect(ts);
300 300
 			c->emm_recv_errors = 0;
301
-		} else {
302
-			ts_LOGf("ERR | Error sending emm packet (nerrors: %d).\n", c->emm_recv_errors);
303 301
 		}
304 302
 	} else {
305 303
 			c->emm_recv_errors = 0;

+ 1
- 1
data.h View File

@@ -59,7 +59,7 @@ struct key {
59 59
 #define ECM_RECV_ERRORS_LIMIT 10
60 60
 
61 61
 // When this limit is reached camd_reconnect is called.
62
-#define EMM_RECV_ERRORS_LIMIT 10
62
+#define EMM_RECV_ERRORS_LIMIT 100
63 63
 
64 64
 struct camd35 {
65 65
 	uint8_t			buf[CAMD35_BUF_LEN];

Loading…
Cancel
Save