From: Paulius Zaleckas Date: Tue, 6 Mar 2012 22:25:14 +0000 (+0000) Subject: bridge: br_log_state() s/entering/entered/ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d9e179ecec0805c41b17f9a0c3b925d415677772;p=openwrt%2Fstaging%2Fblogic.git bridge: br_log_state() s/entering/entered/ When br_log_state() is reporting state it should say "entered" istead of "entering" since state at this point is already changed. Signed-off-by: Paulius Zaleckas Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index 6751ed4e0c07..8c836d96ba76 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c @@ -31,7 +31,7 @@ static const char *const br_port_state_names[] = { void br_log_state(const struct net_bridge_port *p) { - br_info(p->br, "port %u(%s) entering %s state\n", + br_info(p->br, "port %u(%s) entered %s state\n", (unsigned) p->port_no, p->dev->name, br_port_state_names[p->state]); }