diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-16 20:43:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-16 20:43:37 +0000 |
commit | 6533ce84495825898f4c016f2c4d7db21d4dd879 (patch) | |
tree | 3ceb58fd3571c6668d3308ee76a4be84017c620f /serial.c | |
parent | e5f03240eda38792451f56773105364c2a961ca4 (diff) | |
download | gpsd-6533ce84495825898f4c016f2c4d7db21d4dd879.tar.gz |
Make sure the out-of-band packet-type value gets set.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ int gpsd_set_speed(struct gps_session_t *session, tcflush(session->gNMEAdata.gps_fd, TCIOFLUSH); } + session->packet_type = BAD_PACKET; if ((session->packet_type = packet_sniff(session)) == BAD_PACKET) return 0; |