From: Yi Zou Date: Tue, 3 Nov 2009 19:49:49 +0000 (-0800) Subject: [SCSI] fcoe: Fix setting lport's WWNN/WWPN to use san mac address X-Git-Tag: v2.6.33-rc1~344^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ea89ef63d9ca37f190aebb7da061070005ac6e;p=pandora-kernel.git [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 Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed