mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 04:37:26 -05:00
P25p1 -- Fix Bad Copy/Paste Job in LDU1/LDU2;
This commit is contained in:
@@ -550,7 +550,7 @@ processLDU1 (dsd_opts* opts, dsd_state* state)
|
|||||||
if (wr == 0)
|
if (wr == 0)
|
||||||
{
|
{
|
||||||
state->group_array[state->group_tally].groupNumber = tsrc;
|
state->group_array[state->group_tally].groupNumber = tsrc;
|
||||||
if (state->nxdn_cipher_type != 0 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
if (state->payload_algid != 0x80 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
||||||
else
|
else
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
||||||
@@ -562,7 +562,7 @@ processLDU1 (dsd_opts* opts, dsd_state* state)
|
|||||||
else if (strcmp(str, state->group_array[z].groupName) != 0)
|
else if (strcmp(str, state->group_array[z].groupName) != 0)
|
||||||
{
|
{
|
||||||
state->group_array[z].groupNumber = tsrc;
|
state->group_array[z].groupNumber = tsrc;
|
||||||
if (state->nxdn_cipher_type != 0 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
if (state->payload_algid != 0x80 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
||||||
else
|
else
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
||||||
|
|||||||
@@ -584,7 +584,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
|||||||
if (wr == 0)
|
if (wr == 0)
|
||||||
{
|
{
|
||||||
state->group_array[state->group_tally].groupNumber = tsrc;
|
state->group_array[state->group_tally].groupNumber = tsrc;
|
||||||
if (state->nxdn_cipher_type != 0 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
if (state->payload_algid != 0x80 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
||||||
else
|
else
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
||||||
@@ -596,7 +596,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
|||||||
else if (strcmp(str, state->group_array[z].groupName) != 0)
|
else if (strcmp(str, state->group_array[z].groupName) != 0)
|
||||||
{
|
{
|
||||||
state->group_array[z].groupNumber = tsrc;
|
state->group_array[z].groupNumber = tsrc;
|
||||||
if (state->nxdn_cipher_type != 0 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
if (state->payload_algid != 0x80 && opts->trunk_tune_enc_calls == 0 && state->R == 0)
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "DE");
|
||||||
else
|
else
|
||||||
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
sprintf (state->group_array[state->group_tally].groupMode, "%s", "D");
|
||||||
|
|||||||
Reference in New Issue
Block a user