diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-19 00:15:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-19 00:15:21 +0000 |
commit | f20ffc6b2865c80648923bac0773b927b2bf1326 (patch) | |
tree | 84fd2e97ae72bd3fb20e6f3d7917fbad49d744f3 /libgpsd_core.c | |
parent | f32d89be7a960b2f884b87c6bfe1ba9f6e176fd6 (diff) | |
download | gpsd-f20ffc6b2865c80648923bac0773b927b2bf1326.tar.gz |
Temporarily disable some code until I figure out what is going on.
Bug reported by Petr Slansky.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 95c074d2..49e3185e 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -30,12 +30,14 @@ int gpsd_switch_driver(struct gps_device_t *session, char* typename) /* make it idempotent */ if (session->device_type != NULL && strcmp(session->device_type->typename, typename) == 0) { +#if 0 #ifdef ALLOW_RECONFIGURE gpsd_report(LOG_PROG, "Reconfiguring for %s...\n", session->device_type->typename); if (session->context->enable_reconfigure && session->device_type->configurator != NULL) session->device_type->configurator(session); #endif /* ALLOW_RECONFIGURE */ +#endif return 0; } |