Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information