aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_nm.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-12-28 12:23:02 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-12-28 16:40:44 +0100
commitc7aabcad1b6435d0f439c487e8825e1dbc4c0775 (patch)
treea92b4fcbddb086026c46adfa56d4d7f23864eadc /openbsc/src/abis_nm.c
parent66169152f6c4458cf7380d6e447fa74e5ae66654 (diff)
[ipaccess] Handle LoadAbort coming from the BTS.
* Be bale to abort the load when the BTS is rejecting the file..
Diffstat (limited to 'openbsc/src/abis_nm.c')
-rw-r--r--openbsc/src/abis_nm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c
index 8b3ac9c62..211f70ee4 100644
--- a/openbsc/src/abis_nm.c
+++ b/openbsc/src/abis_nm.c
@@ -1568,6 +1568,12 @@ static int abis_nm_rcvmsg_sw(struct msgb *mb)
rc = sw_load_end(sw);
}
break;
+ case NM_MT_LOAD_ABORT:
+ if (sw->cbfn)
+ sw->cbfn(GSM_HOOK_NM_SWLOAD,
+ NM_MT_LOAD_ABORT, mb,
+ sw->cb_data, NULL);
+ break;
}
break;
case SW_STATE_WAIT_ENDACK: