diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-28 11:48:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-28 11:48:12 +0100 |
commit | 8f31a8fdaeb57204b2bf43c48d24a06212f787e8 (patch) | |
tree | c3ff6e82883f4744d8de97ff1ee496f3567d10c1 /openbsc/src/abis_nm.c | |
parent | 326a632c462f0ac2f441075e3e1b92f81b9d4e0a (diff) |
[abis] Set rc to 0 to avoid running into a warning about unknown states
When we have received the End Ack we are just doing nothing as we
are done. This means rc remains -1 and we will print a warning but
there is no need to have a warning...
Diffstat (limited to 'openbsc/src/abis_nm.c')
-rw-r--r-- | openbsc/src/abis_nm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c index db95f213c..8b3ac9c62 100644 --- a/openbsc/src/abis_nm.c +++ b/openbsc/src/abis_nm.c @@ -1581,6 +1581,7 @@ static int abis_nm_rcvmsg_sw(struct msgb *mb) sw->cbfn(GSM_HOOK_NM_SWLOAD, NM_MT_LOAD_END_ACK, mb, sw->cb_data, NULL); + rc = 0; break; case NM_MT_LOAD_END_NACK: if (sw->forced) { |