mirror of https://gerrit.osmocom.org/libosmocore
isdn: fix identical operands in v110_adapt_IR8000_to_2400()
Change-Id: I7df8b214e813cbd14726d5043f666547353e2947 Fixes: CID#310966changes/54/31954/1
parent
8f6d2f349c
commit
25127fb749
|
@ -242,7 +242,8 @@ static int v110_adapt_IR8000_to_2400(ubit_t *d_out, size_t out_len, const struct
|
|||
if (out_len < 24)
|
||||
return -ENOSPC;
|
||||
|
||||
if (fr->e_bits[1] != 1 || fr->e_bits[1] != 1 || fr->e_bits[2] != 0)
|
||||
/* Table 6c / V.110 */
|
||||
if (fr->e_bits[0] != 1 || fr->e_bits[1] != 1 || fr->e_bits[2] != 0)
|
||||
return -EINVAL;
|
||||
|
||||
for (int i = 0; i < 24; i++) {
|
||||
|
|
Loading…
Reference in New Issue