ibmvnic: Set state UP
authorMick Tarsel <mjtarsel@linux.vnet.ibm.com>
Thu, 28 Sep 2017 20:53:18 +0000 (13:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2017 03:02:35 +0000 (04:02 +0100)
commite876a8a7e9dd89dc88c12ca2e81beb478dbe9897
tree2368dbc7d94325c1d986f1bff82ff2bd3576a6b7
parent21a2774ef5d4fde772fbcb9d0eabb76f585e5af5
ibmvnic: Set state UP

State is initially reported as UNKNOWN. Before register call
netif_carrier_off(). Once the device is opened, call netif_carrier_on() in
order to set the state to UP.

Signed-off-by: Mick Tarsel <mjtarsel@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c