hpsa: correct ioaccel2 error procecssing.
authorDon Brace <don.brace@microsemi.com>
Wed, 27 Apr 2016 22:14:07 +0000 (17:14 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 29 Apr 2016 23:08:24 +0000 (19:08 -0400)
commit064d1b1d2d8e0b90f1a0a49112eca0d5c2a09b16
tree733e2a840e6d5fb1555024fb0561f0e2d383826a
parent5323ed74bdf1274caabea6bfc94eef32b89c72fe
hpsa: correct ioaccel2 error procecssing.

set offload_to_be_enabled to 0 when an ioaccel2 error is processed.

Before, an ioaccel completion error would turn of ioaccel but a rescan
would turn it back on again.

Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c