diff options
author | Catherine Sullivan <[email protected]> | 2015-09-28 14:16:58 -0400 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2015-10-19 15:35:52 -0700 |
commit | 3ce12ee9d8f9ae245f38e6acbd32625d8e002c5b (patch) | |
tree | ac43451833958438c6289596f722410a7388391a /lib/netdev-notifier-error-inject.c | |
parent | a03dc368547a7a4e9fcedc6f64dd64a9ff5e0593 (diff) |
i40e: Fix order of checks when enabling/disabling autoneg in ethtool
We were previously checking if autoneg was allowed to change before
checking if autoneg was changing. We need to do this in the other order
or else we will erroneously return EINVAL when autoneg is not changing.
Change-ID: Iff9f7d1c9bddc1ad1e5d227d4f42754f90155410
Signed-off-by: Catherine Sullivan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions