summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-24 12:06:58 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-24 12:06:58 -0500
commit7e0ac597b057ed4119a76f4e33f2a5a304fc1c0a (patch)
tree5cd478c37e845b10edfe21187cdbd81335734422
parent25fb04476ddb433a108121f74f356e76e44a6a95 (diff)
downloadgpsd-7e0ac597b057ed4119a76f4e33f2a5a304fc1c0a.tar.gz
Add an explanatory comment.
-rw-r--r--gpsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index d2db374d..b803114b 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1277,6 +1277,10 @@ static void consume_packets(struct gps_device_t *device)
gpsd_report(LOG_RAW + 1, "polling %d\n",
device->gpsdata.gps_fd);
+ /*
+ * Strange special case - the opening transaction on an NTRIP connection
+ * may not yet be completed. Try to ratchet things forward.
+ */
if (device->servicetype == service_ntrip
&& device->driver.ntrip.conn_state != ntrip_conn_established) {