projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/net/benet/be_ethtool.c
b/drivers/net/benet/be_ethtool.c
index e8f92831021a55f268deffeb16fb18468a91df16..9eabed4e3b92dc58640b9d513f4add100c1ab405 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)