Re: [PATCH net] ehea: fix operation state report

2016-11-03 Thread David Miller
From: "Guilherme G. Piccoli" Date: Thu, 3 Nov 2016 08:16:20 -0200 > Currently the ehea driver is missing a call to netif_carrier_off() > before the interface bring-up; this is necessary in order to > initialize the __LINK_STATE_NOCARRIER bit in the net_device state

Re: [PATCH net] ehea: fix operation state report

2016-11-03 Thread Douglas Miller
On 11/03/2016 05:16 AM, Guilherme G. Piccoli wrote: Currently the ehea driver is missing a call to netif_carrier_off() before the interface bring-up; this is necessary in order to initialize the __LINK_STATE_NOCARRIER bit in the net_device state field. Otherwise, we observe state UNKNOWN on "ip

[PATCH net] ehea: fix operation state report

2016-11-03 Thread Guilherme G. Piccoli
Currently the ehea driver is missing a call to netif_carrier_off() before the interface bring-up; this is necessary in order to initialize the __LINK_STATE_NOCARRIER bit in the net_device state field. Otherwise, we observe state UNKNOWN on "ip address" command output. This patch adds a call to