diff options
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 343900ac0ece..2274fcd4c713 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -275,7 +275,7 @@ static int fcoe_interface_setup(struct fcoe_interface *fcoe, | |||
275 | rcu_read_lock(); | 275 | rcu_read_lock(); |
276 | for_each_dev_addr(netdev, ha) { | 276 | for_each_dev_addr(netdev, ha) { |
277 | if ((ha->type == NETDEV_HW_ADDR_T_SAN) && | 277 | if ((ha->type == NETDEV_HW_ADDR_T_SAN) && |
278 | (is_valid_ether_addr(fip->ctl_src_addr))) { | 278 | (is_valid_ether_addr(ha->addr))) { |
279 | memcpy(fip->ctl_src_addr, ha->addr, ETH_ALEN); | 279 | memcpy(fip->ctl_src_addr, ha->addr, ETH_ALEN); |
280 | fip->spma = 1; | 280 | fip->spma = 1; |
281 | break; | 281 | break; |