summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers.c b/drivers.c
index bbc97368..abf3953b 100644
--- a/drivers.c
+++ b/drivers.c
@@ -1062,8 +1062,7 @@ static gps_mask_t aivdm_analyze(struct gps_device_t *session)
if (session->packet.type == AIVDM_PACKET){
session->cycle_state = CYCLE_END_RELIABLE;
if (aivdm_decode((char *)session->packet.outbuffer, session->packet.outbuflen, &session->aivdm)) {
- if (session->aivdm.decoded.type != 24 || session->aivdm.decoded.type24.part == 1)
- session->cycle_state = CYCLE_END;
+ session->cycle_state = CYCLE_END;
return ONLINE_SET | AIS_SET;
}else
return ONLINE_SET;