hpsa: correct ioaccel state change operation
authorDon Brace <don.brace@microsemi.com>
Wed, 27 Apr 2016 22:13:59 +0000 (17:13 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 29 Apr 2016 23:08:24 +0000 (19:08 -0400)
commit5323ed74bdf1274caabea6bfc94eef32b89c72fe
tree15fba2e45a2dd0ecfde38c2866501ea2500254b3
parentc448ecfa0b2e648a668a1c62286e989ab1dbf6c8
hpsa: correct ioaccel state change operation

offload_to_be_enabled also needs to be set to 0 during a state
change.

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