Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit 521eccf10b3ea90383f8f9e47c546edfb28b01b0 Author: Sven Eckelmann sven@narfation.org Date: Sat May 19 00:30:28 2018 +0200
batman-adv-devel: Add compat for link_ksettings->base.autoneg
Signed-off-by: Sven Eckelmann sven@narfation.org
521eccf10b3ea90383f8f9e47c546edfb28b01b0 batman-adv-devel/files/compat-hacks.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/batman-adv-devel/files/compat-hacks.h b/batman-adv-devel/files/compat-hacks.h index d35cece..0cf8e31 100644 --- a/batman-adv-devel/files/compat-hacks.h +++ b/batman-adv-devel/files/compat-hacks.h @@ -98,6 +98,7 @@ struct batadv_ethtool_link_ksettings { struct { __u32 speed; __u8 duplex; + __u8 autoneg; } base; };
@@ -119,6 +120,7 @@ batadv_ethtool_get_link_ksettings(struct net_device *dev,
link_ksettings->base.duplex = cmd.duplex; link_ksettings->base.speed = ethtool_cmd_speed(&cmd); + link_ksettings->base.autoneg = cmd.autoneg;
return 0; }