i40e: Missing response checks in driver when starting/stopping FW LLDP
authorPiotr Marczak <piotr.marczak@intel.com>
Wed, 24 Apr 2019 12:20:52 +0000 (05:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Jun 2019 20:03:08 +0000 (13:03 -0700)
commitc1041d07043748460f215386b760f3943f6890bb
treef035c7963098d7dd0ad1a3c9dbf0d38025bb4fde
parentd510497b8397ec875edd1a86aaee207822245eee
i40e: Missing response checks in driver when starting/stopping FW LLDP

Driver did not check response on LLDP flag change and always returned
SUCCESS.

This patch now checks for an error and returns an error code and has
additional information in the log.

Signed-off-by: Piotr Marczak <piotr.marczak@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c