summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>2014-01-29 02:16:40 -0500
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:10 -0700
commit3e393172b8efcd412cbfd9c6e72e7c0e681029eb (patch)
tree9e0e9e5f6fc10d79123dd9b207ed664d6b1a3c7e /drivers/scsi
parent1957aa7f62462dc888dfc9a94373b27f936f2e10 (diff)
downloadop-kernel-dev-3e393172b8efcd412cbfd9c6e72e7c0e681029eb.zip
op-kernel-dev-3e393172b8efcd412cbfd9c6e72e7c0e681029eb.tar.gz
[SCSI] be2iscsi: Fix port speed typo in driver.
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/be2iscsi/be_iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
index bdd0f05..a7a210e 100644
--- a/drivers/scsi/be2iscsi/be_iscsi.c
+++ b/drivers/scsi/be2iscsi/be_iscsi.c
@@ -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;
OpenPOWER on IntegriCloud