summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/ethtool.c
diff options
context:
space:
mode:
authorAnna Neal <anna@cozybit.com>2008-10-20 16:46:56 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:06:03 -0500
commit582c1b538fb47a2d6a41dbdadb031086c49446c1 (patch)
tree04c84b61e6af5256e685c69bc195aee0b948adc5 /drivers/net/wireless/libertas/ethtool.c
parent50da3ead624d46f1b9f1007a184691bbb841eba7 (diff)
downloadtalos-obmc-linux-582c1b538fb47a2d6a41dbdadb031086c49446c1.tar.gz
talos-obmc-linux-582c1b538fb47a2d6a41dbdadb031086c49446c1.zip
libertas: Fine grained configuration of wake-on-lan.
Based on a patch from Shailendra Govardhan <shailen@marvell.com>. This patch allows implementation of more specific wake-on-lan rules than those of ethtool. Please note that only firmware 5.110.22.p20 and above supports this feature. This patch only implements the driver/firmware interface, not the userspace/driver interface. Signed-off-by: Anna Neal <anna@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/ethtool.c')
-rw-r--r--drivers/net/wireless/libertas/ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/ethtool.c b/drivers/net/wireless/libertas/ethtool.c
index 156f471217bb..61d2f50470c8 100644
--- a/drivers/net/wireless/libertas/ethtool.c
+++ b/drivers/net/wireless/libertas/ethtool.c
@@ -180,7 +180,7 @@ static int lbs_ethtool_set_wol(struct net_device *dev,
if (wol->wolopts & WAKE_BCAST) criteria |= EHS_WAKE_ON_BROADCAST_DATA;
if (wol->wolopts & WAKE_PHY) criteria |= EHS_WAKE_ON_MAC_EVENT;
- return lbs_host_sleep_cfg(priv, criteria);
+ return lbs_host_sleep_cfg(priv, criteria, (struct wol_config *)NULL);
}
struct ethtool_ops lbs_ethtool_ops = {
OpenPOWER on IntegriCloud