# HG changeset patch # User Florian Pose # Date 1320839889 -3600 # Node ID 8fa0571f9996e24734fd3899c7fce521400a2313 # Parent 71425e6120d85352d2550b07c230e32ef6a7b5fe Poll both devices. diff -r 71425e6120d8 -r 8fa0571f9996 master/master.c --- a/master/master.c Wed Nov 09 12:05:44 2011 +0100 +++ b/master/master.c Wed Nov 09 12:58:09 2011 +0100 @@ -2126,6 +2126,9 @@ // receive datagrams ec_device_poll(&master->main_device); + if (master->backup_device.dev) { + ec_device_poll(&master->backup_device); + } // dequeue all datagrams that timed out list_for_each_entry_safe(datagram, next, &master->datagram_queue, queue) {