diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-12 23:51:46 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-13 00:17:17 +0800 |
commit | 6eae31e39f496a2ca7e20c8c10917867dfb79ffd (patch) | |
tree | 0f09cbd397a329ef1b9c331e5b76054b6cc03f31 /openbsc/src/ipaccess | |
parent | 4647015f6960183b881b8f43c52ad818a6c20b27 (diff) |
sw_load: Specify the trx_nr for the software load
For the multi TRX setup we will need to specify the right trx->nr
to be able to flash the BTS. For the BS11 case we are ignoring the
additional argument.
Diffstat (limited to 'openbsc/src/ipaccess')
-rw-r--r-- | openbsc/src/ipaccess/ipaccess-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c index b84b6a870..d2ce41396 100644 --- a/openbsc/src/ipaccess/ipaccess-config.c +++ b/openbsc/src/ipaccess/ipaccess-config.c @@ -411,7 +411,7 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, } else if (software) { int rc; printf("Attempting software upload with '%s'\n", software); - rc = abis_nm_software_load(trx->bts, software, 19, 0, swload_cbfn, trx->bts); + rc = abis_nm_software_load(trx->bts, trx->nr, software, 19, 0, swload_cbfn, trx->bts); if (rc < 0) { fprintf(stderr, "Failed to start software load\n"); exit(-3); |