diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-08-09 14:45:18 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-09 14:45:18 +0200 |
commit | 66b6a8dde061e16fb2f102eb2de9b884a1941481 (patch) | |
tree | 86bed65b3975138d176185bd8fe8aa9e13b5531f /openbsc/src/bsc_hack.c | |
parent | 31f03a6df66ccfcaa3ae71663ac53bf7c2b80c59 (diff) |
move ms_pwr utility function to gsm_utils.c
also, they should both take the gsm_band parameter, not a BTS
Diffstat (limited to 'openbsc/src/bsc_hack.c')
-rw-r--r-- | openbsc/src/bsc_hack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index 02ec1abed..0f0f4c8c7 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c @@ -37,6 +37,7 @@ #include <openbsc/db.h> #include <openbsc/timer.h> #include <openbsc/gsm_data.h> +#include <openbsc/gsm_utils.h> #include <openbsc/gsm_04_08.h> #include <openbsc/select.h> #include <openbsc/abis_rsl.h> @@ -982,7 +983,7 @@ static void patch_tables(struct gsm_bts *bts) /* patch MS max power for CCH */ type_4->cell_sel_par.ms_txpwr_max_ccch = - ms_pwr_ctl_lvl(bts, 20 /* dBm == 100mW */); + ms_pwr_ctl_lvl(bts->band, 20 /* dBm == 100mW */); } |