bridge: br_log_state() s/entering/entered/
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Tue, 6 Mar 2012 22:25:14 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2012 08:25:25 +0000 (00:25 -0800)
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 <paulius.zaleckas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c

index 6751ed4e0c074a8bd0f692ccdf5df0d001e0d3dc..8c836d96ba769eaaf4b62ce76b26c7e5e4f814b0 100644 (file)
@@ -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]);
 }