]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
bfa: wrong fcport H2I message tested in bfa_fcport_isr()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 11 Aug 2010 01:01:23 +0000 (18:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <roel.kluin@gmail.com>
Acked-by: Jing Huang <huangj@Brocade.COM>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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;