Change in osmo-msc[master]: ran_peer: Move rx_reset_ack logic into its own func

Pau Espin Pedrol gerrit-no-reply at
Wed May 15 10:25:04 UTC 2019

Pau Espin Pedrol has submitted this change and it was merged. ( )

Change subject: ran_peer: Move rx_reset_ack logic into its own func

ran_peer: Move rx_reset_ack logic into its own func

Later on we want to do extra steps upon receiving a Rx Reset Ack
(checking for Osmux support from peer). Let's move handling of this
message into its own function to have handling implementation in one

Change-Id: I516c4baf6071d26f6c530726d93677bed968efd1
M src/libmsc/ran_peer.c
1 file changed, 6 insertions(+), 1 deletion(-)

  Harald Welte: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

diff --git a/src/libmsc/ran_peer.c b/src/libmsc/ran_peer.c
index 40e26a2..35f2842 100644
--- a/src/libmsc/ran_peer.c
+++ b/src/libmsc/ran_peer.c
@@ -152,6 +152,11 @@
 	ran_peer_state_chg(rp, RAN_PEER_ST_READY);
+static void ran_peer_rx_reset_ack(struct ran_peer *rp)
+	ran_peer_state_chg(rp, RAN_PEER_ST_READY);
 void ran_peer_reset(struct ran_peer *rp)
 	struct msgb *reset;
@@ -269,7 +274,7 @@
 	switch (event) {
-		ran_peer_state_chg(rp, RAN_PEER_ST_READY);
+		ran_peer_rx_reset_ack(rp);

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I516c4baf6071d26f6c530726d93677bed968efd1
Gerrit-Change-Number: 14037
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list