ixgbe: fix setup_fc for x550em
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 8 Jul 2016 00:18:38 +0000 (17:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 08:31:30 +0000 (01:31 -0700)
commitabf76d76c5e716a0129180b8f464b1b293823adf
tree3a337b9b503f82c990b14cf33940c5e81109e504
parent1d94f987f53cb53798dbcc7e7f1dfb00f9269efb
ixgbe: fix setup_fc for x550em

mac->ops.setup_fc can be null for backplanes which can cause the driver
to crash on load.

Reported-by: Patrick McLean <patrickm@gaikai.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c