Skip to contentSkip to conversation

be2net: fix to allow port beacon when device is closed

PATCH Applied Ajit Khaparde 2 participants 2 messages Nov 30, 2009 – Dec 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/6 be2net: fix to allow port beacon when device is closed

port identification/beaconing is failing if device open has not been done. Fixing it.

---
 drivers/net/benet/be_ethtool.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/net/benet/be_ethtool.c +0 -3
index e8f9283..9eabed4 100644
@@ -380,9 +380,6 @@ be_phys_id(struct net_device *netdev, u32 data)
 	int status;
 	u32 cur;
 
-	if (!netif_running(netdev))
-		return 0;
-
 	be_cmd_get_beacon_state(adapter, adapter->port_num, &cur);
 
 	if (cur == BEACON_STATE_ENABLED)
Signature · 1 line
1.6.3.3