diff options
author | Neil Horman <[email protected]> | 2013-01-29 16:15:45 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-01-29 16:29:22 -0500 |
commit | 6cdd20c380eb62eab757c5a6ccc90dac7ecd774b (patch) | |
tree | 547763439b122d5917fff7aae936b6a1bbcd0d0a /fs/jbd2/commit.c | |
parent | 286003048aaef49b26bb9d93611dc69085e8982e (diff) |
vmxnet3: set carrier state properly on probe
vmxnet3 fails to set netif_carrier_off on probe, meaning that when an interface
is opened the __LINK_STATE_NOCARRIER bit is already cleared, and so
/sys/class/net/<ifname>/operstate remains in the unknown state. Correct this by
setting netif_carrier_off on probe, like other drivers do.
Also, while we're at it, lets remove the netif_carrier_ok checks from the
link_state_update function, as that check is atomically contained within the
netif_carrier_[on|off] functions anyway
Tested successfully by myself
Signed-off-by: Neil Horman <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: "VMware, Inc." <[email protected]>
CC: Ben Hutchings <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions