summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-03-05 17:58:13 +0100
committerHarald Welte <laforge@gnumonks.org>2011-03-05 17:58:13 +0100
commit3ede723cb416c2e57cb5a265b2327de5fa4a5e4b (patch)
treeb4a342d94303a722091479ec3b2d784a7d56fc6f
parente6e8383a9278573119dac61925f8c0566799be06 (diff)
OM2000: Handle (Dis)Connect Reject in NACK handler
-rw-r--r--openbsc/src/libbsc/abis_om2000.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/abis_om2000.c b/openbsc/src/libbsc/abis_om2000.c
index e4e44c104..b86503829 100644
--- a/openbsc/src/libbsc/abis_om2000.c
+++ b/openbsc/src/libbsc/abis_om2000.c
@@ -247,7 +247,7 @@ static const struct value_string om2k_msgcode_vals[] = {
{ 0x001a, "CON Configuration Result" },
{ 0x001c, "Connect Command" },
{ 0x001e, "Connect Complete" },
- { 0x001f, "Connect Rejecte" },
+ { 0x001f, "Connect Reject" },
{ 0x0028, "Disable Request" },
{ 0x002a, "Disable Request Accept" },
{ 0x002b, "Disable Request Reject" },
@@ -1151,6 +1151,8 @@ int abis_om2k_rcvmsg(struct msgb *msg)
case OM2K_MSGT_DISABLE_REQ_ACK:
break;
case OM2K_MSGT_START_REQ_REJ:
+ case OM2K_MSGT_CONNECT_REJ:
+ case OM2K_MSGT_DISCONNECT_REJ:
case OM2K_MSGT_CON_CONF_REQ_REJ:
case OM2K_MSGT_IS_CONF_REQ_REJ:
case OM2K_MSGT_TX_CONF_REQ_REJ: