mirror of https://gerrit.osmocom.org/osmo-tetra
added missing switch statements to suppress compiler warnings
Change-Id: I02f7b1875e5501f6977638130c8c5b8c8634fe4e
This commit is contained in:
parent
22b190ef5f
commit
f0c5f795af
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue