bridge: avoid ethtool on non running interface
authorstephen hemminger <shemminger@vyatta.com>
Tue, 24 Aug 2010 13:12:56 +0000 (13:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2010 23:36:51 +0000 (16:36 -0700)
commitaa7c6e5fa08bb5014b6432a690d28748f11e93fc
tree71849c8ddde749739a878dd5e10446e9a3ee06ae
parentc5dadddb8c9d310bc263f671f19fe3ba90b329fe
bridge: avoid ethtool on non running interface

If bridge port is offline, don't call ethtool to query speed.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c