diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-23 00:04:04 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-23 00:04:04 +0000 |
commit | ba59bafc8eb914aa7c01533e7381e1d00e9730f0 (patch) | |
tree | 2e1e7e3039005c4b65bab4625eec3585f3e7cc58 | |
parent | 7f93ceafef14f48afeb81f4801bee4a62e261871 (diff) |
remove subchan_demux debug statements, add DMUX commandline parsing
-rw-r--r-- | src/debug.c | 1 | ||||
-rw-r--r-- | src/subchan_demux.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index a3084e265..c071df0a9 100644 --- a/src/debug.c +++ b/src/debug.c @@ -53,6 +53,7 @@ static const struct debug_info debug_info[] = { DEBUG_CATEGORY(DPAG, "DPAG", "\033[1;38m", "") DEBUG_CATEGORY(DMI, "DMI", "", "") DEBUG_CATEGORY(DMIB, "DMIB", "", "") + DEBUG_CATEGORY(DMUX, "DMUX", "", "") }; static int use_color = 1; diff --git a/src/subchan_demux.c b/src/subchan_demux.c index 92550b7b6..4b1efd5cc 100644 --- a/src/subchan_demux.c +++ b/src/subchan_demux.c @@ -299,8 +299,6 @@ int subchan_mux_enqueue(struct subch_mux *mx, int s_nr, const u_int8_t *data, if (list_len > 2) tx_queue_evict(sch, list_len-2); - DEBUGP(DMUX, "enqueueing frame, mx=%p s_nr=%u, tx_queue_len=%u\n", - mx, s_nr, llist_len(&sch->tx_queue)); llist_add_tail(&tqe->list, &sch->tx_queue); return 0; |