diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-28 12:23:02 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-28 16:40:44 +0100 |
commit | c7aabcad1b6435d0f439c487e8825e1dbc4c0775 (patch) | |
tree | a92b4fcbddb086026c46adfa56d4d7f23864eadc /openbsc/src/abis_nm.c | |
parent | 66169152f6c4458cf7380d6e447fa74e5ae66654 (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.c | 6 |
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: |