bridge: mark tested members as present during enable retry
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jan 2015 11:41:07 +0000 (12:41 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jan 2015 11:41:07 +0000 (12:41 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
bridge.c

index 4291e7c1af9d00a1b6562fee2ff4e4264de30e97..f68d7738511894dec8f7ff4d5277e2778bb6f1e9 100644 (file)
--- a/bridge.c
+++ b/bridge.c
@@ -614,6 +614,7 @@ bridge_retry_members(struct uloop_timeout *timeout)
                        continue;
 
                bm->present = true;
+               bst->n_present++;
                bridge_enable_member(bm);
        }
 }