diff options
author | Thomas Falcon <tlfalcon@linux.ibm.com> | 2019-05-09 23:13:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-10 15:12:09 -0700 |
commit | 0655f9943df2f2d71f406fd77b51d05548134fc2 (patch) | |
tree | d27b2082305fe60cb06361073b097b525a98ab86 /drivers/net/ethernet/ti | |
parent | net/ibmvnic: Update MAC address settings after adapter reset (diff) | |
download | linux-dev-0655f9943df2f2d71f406fd77b51d05548134fc2.tar.xz linux-dev-0655f9943df2f2d71f406fd77b51d05548134fc2.zip |
net/ibmvnic: Update carrier state after link state change
Only set the device carrier state to on after receiving an up link
state indication from the underlying adapter. Likewise, if a down
link indication is receieved, update the carrier state accordingly.
This fix ensures that accurate carrier state is reported by the driver
following a link state update by the underlying adapter.
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions