diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-02 08:48:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-03 12:08:10 -0500 |
commit | 02ebc26865c2755720d2ede90a5ab27c45741823 (patch) | |
tree | 8bc065ab5f59ffe2add2322665890af9e6293e6e /drivers/net/sfc/siena.c | |
parent | 4f3907e9a600a46d8c946469ce6636080310d12e (diff) |
sfc: Use current MAC address, not NVRAM MAC address, for WoL filter
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/siena.c')
-rw-r--r-- | drivers/net/sfc/siena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/siena.c b/drivers/net/sfc/siena.c index 45236f58a258..b31598079c3d 100644 --- a/drivers/net/sfc/siena.c +++ b/drivers/net/sfc/siena.c | |||
@@ -562,7 +562,7 @@ static int siena_set_wol(struct efx_nic *efx, u32 type) | |||
562 | if (nic_data->wol_filter_id != -1) | 562 | if (nic_data->wol_filter_id != -1) |
563 | efx_mcdi_wol_filter_remove(efx, | 563 | efx_mcdi_wol_filter_remove(efx, |
564 | nic_data->wol_filter_id); | 564 | nic_data->wol_filter_id); |
565 | rc = efx_mcdi_wol_filter_set_magic(efx, efx->mac_address, | 565 | rc = efx_mcdi_wol_filter_set_magic(efx, efx->net_dev->dev_addr, |
566 | &nic_data->wol_filter_id); | 566 | &nic_data->wol_filter_id); |
567 | if (rc) | 567 | if (rc) |
568 | goto fail; | 568 | goto fail; |