diff options
author | Yi Zou <yi.zou@intel.com> | 2009-11-03 11:49:38 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:01:21 -0600 |
commit | bf361707c81f8e8e43e332bfc8838bae76ae021a (patch) | |
tree | 1a1a5ca9a40011a59228ae0819cbef255d1f9b14 /drivers | |
parent | 76d8737c9dda1593d52887c8a11bf3359e447896 (diff) | |
download | blackbird-op-linux-bf361707c81f8e8e43e332bfc8838bae76ae021a.tar.gz blackbird-op-linux-bf361707c81f8e8e43e332bfc8838bae76ae021a.zip |
[SCSI] fcoe: Fix checking san mac address
This was fixed before in 7a7f0c7 but it's introduced again recently.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-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, rcu_read_lock(); for_each_dev_addr(netdev, ha) { if ((ha->type == NETDEV_HW_ADDR_T_SAN) && - (is_valid_ether_addr(fip->ctl_src_addr))) { + (is_valid_ether_addr(ha->addr))) { memcpy(fip->ctl_src_addr, ha->addr, ETH_ALEN); fip->spma = 1; break; |