From fb2f843edf44c6f12b636cd82cdd1c71e953495f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 23 Jan 2015 12:34:12 +0100 Subject: [PATCH] bridge: release failed member devices Signed-off-by: Felix Fietkau --- bridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge.c b/bridge.c index d0cb048..4291e7c 100644 --- a/bridge.c +++ b/bridge.c @@ -180,6 +180,8 @@ error: bst->n_failed++; bm->present = false; bst->n_present--; + device_release(&bm->dev); + return ret; } -- 2.25.1