RE: [PATCH 1/2] gianfar: Deal with link state changes during GFAR_RESETTING dev state

2017-02-13 Thread Claudiu Manoil
>-Original Message- >From: Thomas Graziadei [mailto:thomas.grazia...@omicronenergy.com] >Sent: Monday, February 13, 2017 2:22 PM >To: claudiu.man...@freescale.com; net...@vger.kernel.org; linux- >ker...@vger.kernel.org >Cc: Thomas Graziadei >Subject: [PATCH 1/2] gi

[PATCH 1/2] gianfar: Deal with link state changes during GFAR_RESETTING dev state

2017-02-13 Thread Thomas Graziadei
From: Thomas Graziadei The link state is not correctly set in the case that the network driver is reconfigured while the link state changes. The phy informs the gianfar driver, but gfar_update_link_state just exits and therefore looses the change event. The network driver remains in the old state