diff --git a/batman-adv/files/compat-hacks.h b/batman-adv/files/compat-hacks.h index d35cece..0cf8e31 100644 --- a/batman-adv/files/compat-hacks.h +++ b/batman-adv/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; }