diff options
author | Michael J. Ruhl <[email protected]> | 2017-02-08 05:28:13 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-02-19 09:18:43 -0500 |
commit | db069ecb5d4dcd297628d5ebc56dd22bdbab9729 (patch) | |
tree | 9443e114c9cb552a2d18d3328e79328d345ead39 /lib/netdev-notifier-error-inject.c | |
parent | c27aad00d191e8ba88fe755db53b9f2b8cefc0e9 (diff) |
IB/hfi1: Do not set physical link state if DC is in the shutdown state
If the DC is in shutdown state, the set link state function will return
an error. Since this is not a failure in this state, make sure to
only call set link state if the DC is on.
Reviewed-by: Easwar Hariharan <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions