提交 ca66ef50 编写于 作者: A Ajit Khaparde 提交者: David S. Miller

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: NAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ca9e4988
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册