e1000: check return value of _get_speed_and_duplex
We were not checking the return value of get_speed_and_duplex properly, whih may contain an error value. Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
Showing
想要评论请 注册 或 登录