sfc: Use current MAC address, not NVRAM MAC address, for WoL filter
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 2 Dec 2010 13:48:20 +0000 (13:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2010 17:08:10 +0000 (09:08 -0800)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/siena.c

index 45236f58a25849e6bf49f63a9e1207725a245834..b31598079c3da37ec4c84d568bab7481a7127877 100644 (file)
@@ -562,7 +562,7 @@ static int siena_set_wol(struct efx_nic *efx, u32 type)
                if (nic_data->wol_filter_id != -1)
                        efx_mcdi_wol_filter_remove(efx,
                                                   nic_data->wol_filter_id);
-               rc = efx_mcdi_wol_filter_set_magic(efx, efx->mac_address,
+               rc = efx_mcdi_wol_filter_set_magic(efx, efx->net_dev->dev_addr,
                                                   &nic_data->wol_filter_id);
                if (rc)
                        goto fail;