Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48133335 authored by David Decotigny's avatar David Decotigny Committed by David S. Miller
Browse files

net: usnic: use __ethtool_get_settings

parent 4f03980c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
	usnic_dbg("\n");

	mutex_lock(&us_ibdev->usdev_lock);
	us_ibdev->netdev->ethtool_ops->get_settings(us_ibdev->netdev, &cmd);
	__ethtool_get_settings(us_ibdev->netdev, &cmd);
	memset(props, 0, sizeof(*props));

	props->lid = 0;