diff options
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r-- | openbsc/src/abis_rsl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index ef3dfae25..4df2ce1aa 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -837,6 +837,10 @@ int rsl_data_request(struct msgb *msg, u_int8_t link_id) return -EINVAL; } + if (msg->lchan->use_count <= 0) { + DEBUGP(DRSL, "BUG: Trying to send data on unused lchan\n"); + } + /* First push the L3 IE tag and length */ msgb_tv16_push(msg, RSL_IE_L3_INFO, l3_len); |