Browse Source

Mark ecm/emm sending errors as such.

Georgi Chorbadzhiyski 12 years ago
parent
commit
f5ee6ade90
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      camd.c

+ 2
- 2
camd.c View File

@@ -248,7 +248,7 @@ static int camd35_send_ecm(struct ts *ts, uint16_t ca_id, uint16_t service_id, u
248 248
 
249 249
 	int ret = camd35_send_buf(ts, to_send);
250 250
 	if (ret <= 0) {
251
-		ts_LOGf("ECM | Error sending packet.\n");
251
+		ts_LOGf("ERR | Error sending ecm packet, reconnecting to camd.\n");
252 252
 		ts->is_cw_error = 1;
253 253
 		camd35_reconnect(ts);
254 254
 		return ret;
@@ -288,7 +288,7 @@ static int camd35_send_emm(struct ts *ts, uint16_t ca_id, uint8_t *data, uint8_t
288 288
 
289 289
 	int ret = camd35_send_buf(ts, to_send);
290 290
 	if (ret <= 0) {
291
-		ts_LOGf("EMM | Error sending packet.\n");
291
+		ts_LOGf("ERR | Error sending emm packet, reconnecting to camd.\n");
292 292
 		camd35_reconnect(ts);
293 293
 	}
294 294
 	return ret;

Loading…
Cancel
Save