summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
commit0658c2fb8d15fbe78fdd4edd1be184559ab53c32 (patch)
treeb61f6cc53b9aaf5d0575f93966b18a799861460b /driver_proto.c
parente18934bf45246408915652f7b6a5e5ce66cccd8a (diff)
downloadgpsd-0658c2fb8d15fbe78fdd4edd1be184559ab53c32.tar.gz
Drop the obsolete tag field from JSON output. Bump the minor protocol number.
Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/driver_proto.c b/driver_proto.c
index bd008945..d0de2410 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -295,13 +295,6 @@ gps_mask_t _proto__dispatch(struct gps_device_t *session, unsigned char *buf, si
gpsd_report(session->context->debug, LOG_RAW,
"raw _proto_ packet type 0x%02x\n", type);
- /*
- * The tag field is only 8 bytes; be careful you do not overflow.
- * Using an abbreviation (eg. "italk" -> "itk") may be useful.
- */
- (void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag),
- "_PROTO_%02x", type);
-
switch (type)
{
/* Deliver message to specific decoder based on message type */