summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-05 23:27:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-05 23:27:53 +0000
commit10bea44e77ef8f5bf59bb3680d5b82bef1a9f654 (patch)
tree073513dfc8f576016250e286d160dbc5faaf307e /drivers.c
parent6e1d0f9fcc6d5fbc1b000d768ccbdcf2f0f56e86 (diff)
downloadgpsd-10bea44e77ef8f5bf59bb3680d5b82bef1a9f654.tar.gz
Fix driver bugs pointed out by Hakan Johannsen.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers.c b/drivers.c
index b7b1ccc0..d6e39f3f 100644
--- a/drivers.c
+++ b/drivers.c
@@ -405,7 +405,7 @@ static void fv18_event_hook(struct gps_device_t *session, event_t event)
* It's possible we might not need to redo this on event_reactivate,
* but doing so is safe and cheap.
*/
- if (event == event_configure && event == event_reactivate)
+ if (event == event_identified || event == event_reactivate)
(void)nmea_send(session,
"$PFEC,GPint,GSA01,DTM00,ZDA01,RMC01,GLL00,VTG00,GSV05");
}