From dbf6d322945e68fce36afd6dba75ab56d60b0c86 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 May 2012 20:39:08 -0400 Subject: More coverity-inspired fixes. All regression tests pass ans soint runs clean. --- driver_tsip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_tsip.c') diff --git a/driver_tsip.c b/driver_tsip.c index 14aaae2f..b641a1f5 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -959,7 +959,7 @@ static void tsip_event_hook(struct gps_device_t *session, event_t event) if (session->context->readonly) return; /* FIX-ME: Resending this might not be needed on reactivation */ - if (event == event_identified && event == event_reactivate) { + if (event == event_identified || event == event_reactivate) { unsigned char buf[100]; /* I/O Options */ -- cgit v1.2.1