summaryrefslogtreecommitdiffstats
path: root/openbsc/src/input/misdn.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-07-04 09:28:00 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-04 09:28:00 +0200
commitdd2b434b20e732b8e8019635692a44274aa79d43 (patch)
treeb18c1015efaff754a8653d6de433302e671a7d4e /openbsc/src/input/misdn.c
parent63aba29ef75864a42fd38458fbd04a9be997f3b6 (diff)
make sure misdn plugin handles DL_UNITDATA_IND
This reportedly fixes the problem that we didn't see MEASurement REPort messages from the BS-11.
Diffstat (limited to 'openbsc/src/input/misdn.c')
-rw-r--r--openbsc/src/input/misdn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/input/misdn.c b/openbsc/src/input/misdn.c
index 367d8e4..a04c2ab 100644
--- a/openbsc/src/input/misdn.c
+++ b/openbsc/src/input/misdn.c
@@ -154,6 +154,7 @@ static int handle_ts1_read(struct bsc_fd *bfd)
ret = e1inp_event(e1i_ts, EVT_E1_TEI_DN, l2addr.tei, l2addr.sapi);
break;
case DL_DATA_IND:
+ case DL_UNITDATA_IND:
msg->l2h = msg->data + MISDN_HEADER_LEN;
DEBUGP(DMI, "RX: %s\n", hexdump(msgb_l2(msg), ret - MISDN_HEADER_LEN));
ret = e1inp_rx_ts(e1i_ts, msg, l2addr.tei, l2addr.sapi);