Commit 3e393172 authored by Jayamohan Kallickal's avatar Jayamohan Kallickal Committed by James Bottomley

[SCSI] be2iscsi: Fix port speed typo in driver.

The 100Mbps port speed macro used was not proper.
Signed-off-by: default avatarJohn Soni Jose <sony.john-n@emulex.com>
Signed-off-by: default avatarJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 1957aa7f
...@@ -793,7 +793,7 @@ static int beiscsi_get_port_speed(struct Scsi_Host *shost) ...@@ -793,7 +793,7 @@ static int beiscsi_get_port_speed(struct Scsi_Host *shost)
ihost->port_speed = ISCSI_PORT_SPEED_10MBPS; ihost->port_speed = ISCSI_PORT_SPEED_10MBPS;
break; break;
case BE2ISCSI_LINK_SPEED_100MBPS: case BE2ISCSI_LINK_SPEED_100MBPS:
ihost->port_speed = BE2ISCSI_LINK_SPEED_100MBPS; ihost->port_speed = ISCSI_PORT_SPEED_100MBPS;
break; break;
case BE2ISCSI_LINK_SPEED_1GBPS: case BE2ISCSI_LINK_SPEED_1GBPS:
ihost->port_speed = ISCSI_PORT_SPEED_1GBPS; ihost->port_speed = ISCSI_PORT_SPEED_1GBPS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment