added missing switch statements to suppress compiler warnings

Change-Id: I02f7b1875e5501f6977638130c8c5b8c8634fe4e
This commit is contained in:
wbokslag 2022-07-11 15:10:59 +02:00
parent 22b190ef5f
commit f0c5f795af
2 changed files with 10 additions and 0 deletions

View File

@ -371,5 +371,9 @@ void tetra_burst_rx_cb(const uint8_t *burst, unsigned int len, enum tetra_train_
tp_sap_udata_ind(TPSAP_T_BBK, bbk_buf, NDB_BBK_BITS, priv);
tp_sap_udata_ind(TPSAP_T_SCH_F, ndbf_buf, 2*NDB_BLK_BITS, priv);
break;
case TETRA_TRAIN_NORM_3:
case TETRA_TRAIN_EXT:
/* uplink training sequences, should not be encountered, ignore */
break;
}
}

View File

@ -150,6 +150,12 @@ int rx_tm_sdu(struct msgb *msg, unsigned int len)
/* check if the fragment is complete and hand it off*/
tllc_defrag_out(&g_llcs, &lpp);
break;
case TLLC_PDUT_DEC_UNKNOWN:
case TLLC_PDUT_DEC_ALX_ACK:
case TLLC_PDUT_DEC_ALX_RNR:
/* fixme: unhandled types */
break;
}
if (lpp.tl_sdu && lpp.ss == 0) {