diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-05 23:27:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-05 23:27:53 +0000 |
commit | 10bea44e77ef8f5bf59bb3680d5b82bef1a9f654 (patch) | |
tree | 073513dfc8f576016250e286d160dbc5faaf307e /libgpsd_core.c | |
parent | 6e1d0f9fcc6d5fbc1b000d768ccbdcf2f0f56e86 (diff) | |
download | gpsd-10bea44e77ef8f5bf59bb3680d5b82bef1a9f654.tar.gz |
Fix driver bugs pointed out by Hakan Johannsen.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 76af261a..86809eba 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -533,7 +533,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) if (first_sync) { /* fire the identified hook */ if (session->device_type->event_hook != NULL) - session->device_type->event_hook(session, event_configure); + session->device_type->event_hook(session, event_identified); session->packet.counter = 0; } else session->packet.counter++; |