]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: call ctlr_link_up only when the interface is enabled
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 3 Oct 2011 23:45:00 +0000 (16:45 -0700)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:51 +0000 (09:36 +0800)
commit299aabca95f4d3c16eca0fd3a2a0e45b22aeecdd
treea0d4dc169b33ef6a1a22089b8542c6e0fae3c58d
parentfe5c16cb101c1ef4c15d2fbfd957884228d76583
bnx2fc: call ctlr_link_up only when the interface is enabled

Link may not be up when the driver receives ulp_start event, and hence
fcoe_ctlr_link_up is not called. Call fcoe_ctlr_link_up during
indicate_netevent only when the interface is enabled. (It has to be called when
enabled because that is an indication that the vlan discovery is completed).

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit fd8fa9071e49a56cc91f739813ea88f16b7c1240)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c