bfa: wrong fcport H2I message tested in bfa_fcport_isr()
authorRoel Kluin <[email protected]>
Wed, 11 Aug 2010 01:01:23 +0000 (18:01 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Aug 2010 15:59:01 +0000 (08:59 -0700)
It appears that the wrong fcport H2I message was tested

Signed-off-by: Roel Kluin <[email protected]>
Acked-by: Jing Huang <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/scsi/bfa/bfa_fcport.c

index f0933d8d1eda00fee48afe16044a77cb424a2b46..76867b5577fa4b1ed2278f78016f5b511fbcf961 100644 (file)
@@ -1310,7 +1310,7 @@ bfa_fcport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg)
                break;
 
        case BFI_FCPORT_I2H_DISABLE_RSP:
-               if (fcport->msgtag == i2hmsg.penable_rsp->msgtag)
+               if (fcport->msgtag == i2hmsg.pdisable_rsp->msgtag)
                        bfa_sm_send_event(fcport, BFA_FCPORT_SM_FWRSP);
                break;