ixgbevf: restore hw_addr on resume or error
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 23 Nov 2016 19:24:08 +0000 (11:24 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Jan 2017 21:03:38 +0000 (13:03 -0800)
commit26403b7fde65ecfc74f5571e3cfa602dc9b3d6cb
tree340be46009942bb044c33282df0240908a761e32
parentaeb4c73100be8aade8a1189b50bd226b709ca8bb
ixgbevf: restore hw_addr on resume or error

Restore adapter->hw.hw_addr after handling an error, or a resume
operation to make sure we can access the registers.

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/ixgbevf/ixgbevf_main.c