[SCSI] be2iscsi: Fix port speed typo in driver.
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Wed, 29 Jan 2014 07:16:40 +0000 (02:16 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:10 +0000 (10:19 -0700)
The 100Mbps port speed macro used was not proper.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_iscsi.c

index bdd0f05a33423fb35aee80febd36a124e53b0d7d..a7a210ef407c3e2945e250b39bf09a856dbd02af 100644 (file)
@@ -793,7 +793,7 @@ static int beiscsi_get_port_speed(struct Scsi_Host *shost)
                ihost->port_speed = ISCSI_PORT_SPEED_10MBPS;
                break;
        case BE2ISCSI_LINK_SPEED_100MBPS:
-               ihost->port_speed = BE2ISCSI_LINK_SPEED_100MBPS;
+               ihost->port_speed = ISCSI_PORT_SPEED_100MBPS;
                break;
        case BE2ISCSI_LINK_SPEED_1GBPS:
                ihost->port_speed = ISCSI_PORT_SPEED_1GBPS;