aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r--drivers/scsi/aacraid/commsup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 53d415e812ee..81cdac166d4b 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -849,6 +849,10 @@ static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr)
849 849
850 case AifCmdEventNotify: 850 case AifCmdEventNotify:
851 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) { 851 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) {
852 case AifEnBatteryEvent:
853 dev->cache_protected =
854 (((__le32 *)aifcmd->data)[1] == cpu_to_le32(3));
855 break;
852 /* 856 /*
853 * Add an Array. 857 * Add an Array.
854 */ 858 */