summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/misc/bcch_scan.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-22 21:57:34 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-23 13:03:34 +0200
commit66e41a35c9c960273336a8edd8b167e61eb643b8 (patch)
treee5b8cda4a4b4ca128aadaabe65058fa308c6443c /src/host/layer23/src/misc/bcch_scan.c
parentb8dc47cf22e5f8d9f3fb037ed98d0ecc01c3064e (diff)
layer23: fix tons of compiler warnings, mostly OSMO_DEPRECATED related
Diffstat (limited to 'src/host/layer23/src/misc/bcch_scan.c')
-rw-r--r--src/host/layer23/src/misc/bcch_scan.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/host/layer23/src/misc/bcch_scan.c b/src/host/layer23/src/misc/bcch_scan.c
index 3ba3a1cd..5dc0bc3b 100644
--- a/src/host/layer23/src/misc/bcch_scan.c
+++ b/src/host/layer23/src/misc/bcch_scan.c
@@ -199,9 +199,13 @@ static void cinfo_timer_cb(void *data)
case BSCAN_S_WAIT_DATA:
cinfo_next_cell(data);
break;
+ case BSCAN_S_NONE:
+ case BSCAN_S_DONE:
+ break;
}
}
+#if 0
/* Update cell_info for current cell with received BCCH info */
static int rx_bcch_info(const uint8_t *data)
{
@@ -233,12 +237,13 @@ static int rx_bcch_info(const uint8_t *data)
static int rx_sch_info()
{
/* FIXME */
+ return 0;
}
+#endif
static int bscan_sig_cb(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
{
- struct cell_info *ci = fps.cur_cell;
struct osmocom_ms *ms;
struct osmobb_meas_res *mr;
uint16_t arfcn;
@@ -279,6 +284,9 @@ static int bscan_sig_cb(unsigned int subsys, unsigned int signal,
}
_cinfo_start_arfcn(rc);
break;
+ case FPS_S_NONE:
+ case FPS_S_BINFO:
+ break;
}
break;
case S_L1CTL_FBSB_RESP: