summaryrefslogtreecommitdiff
path: root/driver_geostar.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-03 16:12:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-04 16:23:28 -0400
commit7eacbef3fa19f37e85d452787a605aad1396a4d2 (patch)
tree6dffcfb82c66f69ba096385a3eb60c1256ef37df /driver_geostar.c
parent85971992215d9ee830046c18d3899f663c8a20df (diff)
downloadgpsd-7eacbef3fa19f37e85d452787a605aad1396a4d2.tar.gz
Change the logic for managing the drive mode bit to report reality...
...rather than setting it ad-hoc on a per-driver basis.
Diffstat (limited to 'driver_geostar.c')
-rw-r--r--driver_geostar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/driver_geostar.c b/driver_geostar.c
index 35c6be1b..a65d168a 100644
--- a/driver_geostar.c
+++ b/driver_geostar.c
@@ -485,10 +485,7 @@ static gps_mask_t geostar_analyze(struct gps_device_t *session)
static gps_mask_t geostar_parse_input(struct gps_device_t *session)
{
if (session->packet.type == GEOSTAR_PACKET) {
- gps_mask_t st;
- st = geostar_analyze(session);
- session->gpsdata.dev.driver_mode = MODE_BINARY;
- return st;
+ return geostar_analyze(session);;
} else
return 0;
}