Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca66ef50 authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller
Browse files

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: default avatarAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ca9e4988
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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)