Skip to content

Commit

Permalink
be2net: fix to allow port beacon when device is closed
Browse files Browse the repository at this point in the history
port identification/beaconing is failing if device open has not been done.
Fixing it.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Dec 2, 2009
1 parent ca9e498 commit ca66ef5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/benet/be_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca66ef5

Please sign in to comment.