diff options
author | Yi Zou <[email protected]> | 2009-11-03 11:49:49 -0800 |
---|---|---|
committer | James Bottomley <[email protected]> | 2009-12-04 12:01:23 -0600 |
commit | 75ea89ef63d9ca37f190aebb7da061070005ac6e (patch) | |
tree | 83f9e6ffc8f465aec8653ef16fe94ee5eb31ea3d /lib/cpu-notifier-error-inject.c | |
parent | 5bab87e6d465d54a2b5899e0f583d42f00dbee2e (diff) |
[SCSI] fcoe: Fix setting lport's WWNN/WWPN to use san mac address
We are still using netdev->dev_addr to generate lport's WWNN/WWPN even if the
LLD has support for NETDEV_HW_ADDR_T_SAN. Instead, we should just use the
fip->ctl_src_addr, which is the NETDEV_HW_ADDR_T_SAN if LLD supports it or it
is just the netdev->dev_addr if it does not.
Signed-off-by: Yi Zou <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions