aboutsummaryrefslogtreecommitdiffstats
path: root/src/abis_rsl.c
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-12-29 06:23:52 +0000
committerHolger Freyther <zecke@selfish.org>2008-12-29 06:23:52 +0000
commit88ea832ed766ae92d906293a97bd41468ca64cad (patch)
treee9c25a9bb86de17302085cb1194b2478ef49b969 /src/abis_rsl.c
parent24893de3cb909025c1b29e94d3b2df84b7db8ce2 (diff)
Unite the acked/nacked handling in a common response...
Diffstat (limited to 'src/abis_rsl.c')
-rw-r--r--src/abis_rsl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/abis_rsl.c b/src/abis_rsl.c
index cf792538a..5342a9577 100644
--- a/src/abis_rsl.c
+++ b/src/abis_rsl.c
@@ -468,8 +468,8 @@ static int rsl_rx_chan_act_ack(struct msgb *msg)
lchan = lchan_lookup(msg->trx, rslh->chan_nr);
network = msg->trx->bts->network;
- if (network->channel_acked)
- (*network->channel_acked)(lchan);
+ if (network->channel_response)
+ (*network->channel_response)(lchan, 1);
return 0;
@@ -491,8 +491,8 @@ static int rsl_rx_chan_act_nack(struct msgb *msg)
lchan = lchan_lookup(msg->trx, rslh->chan_nr);
network = msg->trx->bts->network;
- if (network->channel_nacked)
- (*network->channel_nacked)(lchan);
+ if (network->channel_response)
+ (*network->channel_response)(lchan, 0);
return 0;
}