commit | 61cd8831ebbc26ca344ee87f393cd67176aebdbb | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Aug 12 21:50:41 2009 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Aug 12 21:50:41 2009 +0200 |
tree | 97f9787b6f91385f929cfaaa65b7a250c9ef92d0 | |
parent | 000c0f44f342ff40abe2728fc27cd92ff278c41d [diff] |
patch power reduction into NM attributes
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index ecda62d..5d35f25 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c
@@ -906,6 +906,10 @@ /* patch BSIC */ bs11_attr_bts[1] = bts->bsic; nanobts_attr_bts[sizeof(nanobts_attr_bts)-1] = bts->bsic; + + /* patch the power reduction */ + bs11_attr_radio[5] = bts->c0->max_power_red / 2; + nanobts_attr_radio[1] = bts->c0->max_power_red / 2; } /*