commit | 13822e4aecc199ae7211b2041ba8a26490327deb | [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 | 6dc5b76304208e567c31daf0efaf1b472cb605c1 [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; } /*