i40e: Don't exit link event early if link speed has changed
authorCatherine Sullivan <catherine.sullivan@intel.com>
Thu, 11 Dec 2014 07:06:33 +0000 (07:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:48:20 +0000 (11:48 -0800)
commitfef59ddfe8ab1302b0c999840f5d238c1dcd2497
treecba98936526f85c10d2c44358587d88a35f334c2
parentf0d8c73396a8abbb20dd5b73560ac6159ddf3c3d
i40e: Don't exit link event early if link speed has changed

Previously we were only checking if the link up state had changed,
and if it hadn't exiting the link event routine early. We should
also check if speed has changed, and if it has, stay and finish
processing the link event.

Change-ID: I9c8e0991b3f0279108a7858898c3c5ce0a9856b8
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c