net: usnic: use __ethtool_get_settings
Signed-off-by: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4f03980ca4
commit
48133335d7
|
@ -329,7 +329,7 @@ int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
|
||||||
usnic_dbg("\n");
|
usnic_dbg("\n");
|
||||||
|
|
||||||
mutex_lock(&us_ibdev->usdev_lock);
|
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));
|
memset(props, 0, sizeof(*props));
|
||||||
|
|
||||||
props->lid = 0;
|
props->lid = 0;
|
||||||
|
|
Loading…
Reference in New Issue