diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-24 18:18:20 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-24 18:18:20 +0000 |
commit | de9ae17986a329351b8dae828986f9ba980a64c7 (patch) | |
tree | 084944a428b117d5801bff8fb1120d8b86bf9b85 /serial.c | |
parent | 9dc5ce93f64c9245ee6de78c0d2c69755104cbe9 (diff) | |
download | gpsd-de9ae17986a329351b8dae828986f9ba980a64c7.tar.gz |
This may fix Gary Miller's bug.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -109,6 +109,8 @@ int gpsd_open(struct gps_device_t *session) if ((*dp)->probe && (*dp)->probe(session)) { gpsd_report(3, "probe found %s driver...\n", (*dp)->typename); session->device_type = *dp; + if (session->device_type->initializer) + session->device_type->initializer(session); return session->gpsdata.gps_fd; } } |