Re: [PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-16 Thread Andrew Lunn
On Fri, Oct 16, 2020 at 09:37:22PM +0200, Lukasz Stelmach wrote: > It was <2020-10-16 pią 20:09>, when Andrew Lunn wrote: > > On Thu, Oct 15, 2020 at 10:44:35AM +0200, Łukasz Stelmach wrote: > >> Do not report advertised link modes (local and remote) when > >> autonegotiation is turned off.

Re: [PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-16 Thread Lukasz Stelmach
It was <2020-10-16 pią 20:09>, when Andrew Lunn wrote: > On Thu, Oct 15, 2020 at 10:44:35AM +0200, Łukasz Stelmach wrote: >> Do not report advertised link modes (local and remote) when >> autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits >> the same behaviour and this patch

Re: [PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-16 Thread Andrew Lunn
On Thu, Oct 15, 2020 at 10:44:35AM +0200, Łukasz Stelmach wrote: > Do not report advertised link modes (local and remote) when > autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits > the same behaviour and this patch aims at unifying the behavior of both > functions. Does

[PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-15 Thread Łukasz Stelmach
Do not report advertised link modes (local and remote) when autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits the same behaviour and this patch aims at unifying the behavior of both functions. Signed-off-by: Łukasz Stelmach --- Changes in v2: - clear lp_advertising -