summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/gps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/common/gps.c')
-rw-r--r--src/host/layer23/src/common/gps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/src/common/gps.c b/src/host/layer23/src/common/gps.c
index 807beed4..ef907d18 100644
--- a/src/host/layer23/src/common/gps.c
+++ b/src/host/layer23/src/common/gps.c
@@ -138,7 +138,7 @@ int osmo_gpsd_open(void)
LOGP(DGPS, LOGL_INFO, "Connecting to gpsd at '%s:%s'\n", g.gpsd_host, g.gpsd_port);
gps_bfd.data = NULL;
- gps_bfd.when = BSC_FD_READ;
+ gps_bfd.when = OSMO_FD_READ;
gps_bfd.cb = osmo_gpsd_cb;
#if GPSD_API_MAJOR_VERSION >= 5
@@ -327,7 +327,7 @@ int osmo_serialgps_open(void)
LOGP(DGPS, LOGL_INFO, "Open GPS device '%s'\n", g.device);
gps_bfd.data = NULL;
- gps_bfd.when = BSC_FD_READ;
+ gps_bfd.when = OSMO_FD_READ;
gps_bfd.cb = osmo_serialgps_cb;
gps_bfd.fd = open(g.device, O_RDONLY);
if (gps_bfd.fd < 0)