batman-adv: Add compat for link_ksettings->base.autoneg
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
846efa2305
commit
74e9124611
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue