net: bridge: add a br_set_state helper function
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 30 Sep 2014 23:13:19 +0000 (16:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Oct 2014 02:03:50 +0000 (22:03 -0400)
In preparation for being able to propagate port states to e.g: notifiers
or other kernel parts, do not manipulate the port state directly, but
instead use a helper function which will allow us to do a bit more than
just setting the state.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found