projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9e498
)
be2net: fix to allow port beacon when device is closed
author
Ajit Khaparde
<ajitk@serverengines.com>
Sun, 29 Nov 2009 17:56:56 +0000
(17:56 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Dec 2009 08:50:25 +0000
(
00:50
-0800)
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>
drivers/net/benet/be_ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/benet/be_ethtool.c
b/drivers/net/benet/be_ethtool.c
index
e8f9283
..
9eabed4
100644
(file)
--- a/
drivers/net/benet/be_ethtool.c
+++ b/
drivers/net/benet/be_ethtool.c
@@
-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)