sfc: Fix the initial device operstate
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 17:04:38 +0000 (18:04 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 19:10:24 +0000 (20:10 +0100)
commit8f8b3d518999fd1c342310910aa1e49112c86d05
tree7024fcb7301339f9c41100717e8bc982aa0ed790
parentadeb15aa1ce3413d461ec0958a979e9d64cd764c
sfc: Fix the initial device operstate

Following commit 8f4cccb ('net: Set device operstate at registration
time') it is now correct and preferable to set the carrier off before
registering a device.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c