aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/bsc_api.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-02-23 18:38:24 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2018-02-26 17:54:39 +0100
commite4b0ebb25b68d667b9281573638c49358f71007f (patch)
tree7f3f24420e1b9541e6269952448dc69e5822dff5 /src/libbsc/bsc_api.c
parent00727558a95a9063857b0767b33588f07605df2d (diff)
bsc_api: drop unknown RR messages.
Radio Resource (RR) handling is entirely done inside the BSC. However, the current implementation forwards unknown RR messages to the MSC. This is not compliant to the specification. - Remove the forwarding and drop any unknown RR message. Change-Id: I0a4d311f6939a4fcee59129daa18da4a2ab510ae
Diffstat (limited to 'src/libbsc/bsc_api.c')
-rw-r--r--src/libbsc/bsc_api.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 2dc7b9a69..7c9ed6fe4 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -773,14 +773,10 @@ static void dispatch_dtap(struct gsm_subscriber_connection *conn,
api->dtap(conn, link_id, msg);
break;
default:
- /* Normally, a MSC should never receive RR
- * messages, but we'd rather forward what we
- * don't know than drop it... */
+ /* Drop unknown RR message */
LOGP(DRR, LOGL_NOTICE,
- "BSC: Passing %s 04.08 RR message to MSC\n",
- gsm48_rr_msg_name(msg_type));
- if (api->dtap)
- api->dtap(conn, link_id, msg);
+ "%s Dropping %s 04.08 RR message from %s\n",
+ gsm_lchan_name(conn->lchan), gsm48_rr_msg_name(msg_type));
}
break;
default: