commit | 11fd9f91e0b6bcc8fe39868aa17163336a72a1b3 | [log] [tgz] |
---|---|---|
author | Benjamin Poirier <bpoirier@suse.com> | Fri Jul 21 11:36:23 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 30 08:39:10 2017 +0000 |
tree | c988f5861679b0b451e4491ce0e9077d323d7cd4 | |
parent | aa8f1adcf964a8f2ebd0c709a308d26dd4b9863b [diff] |
e1000e: Fix error path in link detection commit c4c40e51f9c32c6dd8adf606624c930a1c4d9bbb upstream. In case of error from e1e_rphy(), the loop will exit early and "success" will be set to true erroneously. Signed-off-by: Benjamin Poirier <bpoirier@suse.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>