diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2018-01-02 11:51:32 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2018-02-15 08:00:12 +0100 |
commit | d3385b498d1f7de49393dc08b15712d88cf04943 (patch) | |
tree | 6d15a8e9a1270d12255cb248b95f381b60b32cf1 /src/nmt/nmt.c | |
parent | 72bdd3376f7f0a6e49f0ea03825eb5d467cbc879 (diff) |
NMT: Fixes on channel coding/handling
Diffstat (limited to 'src/nmt/nmt.c')
-rw-r--r-- | src/nmt/nmt.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c index ba36fa4..ef0028b 100644 --- a/src/nmt/nmt.c +++ b/src/nmt/nmt.c @@ -389,37 +389,35 @@ void nmt_check_channels(int __attribute__((unused)) nmt_system) } } if ((cca || ccb) && !tc) { - if (note) - PDEBUG(DNMT, DEBUG_NOTICE, "\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for calling only.\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** No call is possible on this channel.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for control only.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** No call is possible.\n"); PDEBUG(DNMT, DEBUG_NOTICE, "*** Use at least one 'TC'!\n"); note = 1; } if (tc && !(cca || ccb)) { - if (note) - PDEBUG(DNMT, DEBUG_NOTICE, "\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "\n"); PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for traffic only.\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the mobile phone is possible on this channel.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the mobile phone is possible.\n"); PDEBUG(DNMT, DEBUG_NOTICE, "*** Use one 'CC'!\n"); note = 1; } if (cca && !ccb) { - if (note) - PDEBUG(DNMT, DEBUG_NOTICE, "\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for calling of MS type A only.\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the MS type B phone is possible on this channel.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for control of MS type A only.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the MS type B phone is possible.\n"); PDEBUG(DNMT, DEBUG_NOTICE, "*** Use one 'CC' instead!\n"); note = 1; } if (!cca && ccb) { - if (note) - PDEBUG(DNMT, DEBUG_NOTICE, "\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for calling of MS type B only.\n"); - PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the MS type A phone is possible on this channel.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** Selected channel(s) can be used for control of MS type B only.\n"); + PDEBUG(DNMT, DEBUG_NOTICE, "*** No call to the MS type A phone is possible.\n"); PDEBUG(DNMT, DEBUG_NOTICE, "*** Use one 'CC' instead!\n"); note = 1; } + if (note) + PDEBUG(DNMT, DEBUG_NOTICE, "\n"); } /* Destroy transceiver instance and unlink from list. */ |