net: driver: smsc: set NOCARRIER flag in dev at driver initialization
authorBalakumaran Kannan <kumaran.4353@gmail.com>
Tue, 3 Jun 2014 16:43:48 +0000 (22:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 01:20:38 +0000 (18:20 -0700)
commit31f6f291b618b56ebac441279e4f90292fd6b191
tree9ee3fa42b8e56fc3b38d116eff54125ce371df9e
parent21ee543edc0dea36ab58d24523fcd42b8a270df8
net: driver: smsc: set NOCARRIER flag in dev at driver initialization

As smsc driver supports carrier detection, it should unset NOCARRIER
flag only after carrier state determination. By default that flag
is off so driver should set it before starting auto-negotiation

Signed-off-by: Balakumaran <Balakumaran.Kannan@ap.sony.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c