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/ipaccess | |
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/ipaccess')
-rw-r--r-- | openbsc/src/ipaccess/ipaccess-config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c index c7d223438..e96b1abac 100644 --- a/openbsc/src/ipaccess/ipaccess-config.c +++ b/openbsc/src/ipaccess/ipaccess-config.c @@ -215,6 +215,10 @@ static int swload_cbfn(unsigned int hook, unsigned int event, struct msgb *msg, printf("Software Download Progress: %d%%\n", percent); percent_old = percent; break; + case NM_MT_LOAD_ABORT: + fprintf(stderr, "ERROR: Load aborted by the BTS.\n"); + exit(6); + break; } return 0; } |