summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/misc/cell_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/misc/cell_log.c')
-rw-r--r--src/host/layer23/src/misc/cell_log.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/host/layer23/src/misc/cell_log.c b/src/host/layer23/src/misc/cell_log.c
index a6059b40..7340dcb9 100644
--- a/src/host/layer23/src/misc/cell_log.c
+++ b/src/host/layer23/src/misc/cell_log.c
@@ -58,7 +58,8 @@ enum {
};
/* ranges of bands */
-static uint16_t band_range[][2] = {{0, 124}, {512, 885}, {955, 1023}, {0, 0}};
+static uint16_t basic_band_range[][2] = {{0, 124}, {512, 885}, {955, 1023}, {0, 0}};
+uint16_t (*band_range)[][2] = &basic_band_range;
#define INFO_FLG_PM 1
#define INFO_FLG_SYNC 2
@@ -351,8 +352,8 @@ static void start_pm(void)
uint16_t from, to;
state = SCAN_STATE_PM;
- from = band_range[pm_index][0];
- to = band_range[pm_index][1];
+ from = (*band_range)[pm_index][0];
+ to = (*band_range)[pm_index][1];
if (from == 0 && to == 0) {
LOGP(DSUM, LOGL_INFO, "Measurement done\n");