From: Jayamohan Kallickal <jayamohan.kallic...@emulex.com>

 The 100Mbps port speed macro used was not proper.

Signed-off-by: John Soni Jose <sony.joh...@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallic...@emulex.com>
---
 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 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;
-- 
1.8.5.3

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

Reply via email to