2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00

be2net: fix to allow port beacon when device is closed

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>
This commit is contained in:
Ajit Khaparde 2009-11-29 17:56:56 +00:00 committed by David S. Miller
parent ca9e4988cc
commit ca66ef500b

View File

@ -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)