e1000e: Fix error path in link detection
In case of error from e1e_rphy(), the loop will exit early and "success" will be set to true erroneously. Signed-off-by: NBenjamin Poirier <bpoirier@suse.com> Tested-by: NAaron Brown <aaron.f.brown@intel.com> Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
Showing
想要评论请 注册 或 登录