networkd: bridge - fix state machine

We were entering BRIDGE_STATE_CREATED rather than BRIDGE_STATE_READY.
This commit is contained in:
Tom Gundersen
2013-12-17 22:08:12 +01:00
parent ef1ba6065c
commit d638dee035
+2 -2
View File
@@ -139,8 +139,8 @@ static int bridge_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userda
if (bridge->link)
bridge_enter_ready(bridge);
bridge->state = BRIDGE_STATE_CREATED;
else
bridge->state = BRIDGE_STATE_CREATED;
return 1;
}