The 100Mbps port speed macro used was not proper.

Signed-off-by: John Soni Jose <[email protected]>
Signed-off-by: Jayamohan Kallickal <[email protected]>
---
 drivers/scsi/be2iscsi/be_iscsi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
index 867f3d3..2843a67 100644
--- a/drivers/scsi/be2iscsi/be_iscsi.c
+++ b/drivers/scsi/be2iscsi/be_iscsi.c
@@ -795,7 +795,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;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to