diff options
author | Michael Brown | 2014-08-05 19:00:17 +0200 |
---|---|---|
committer | Michael Brown | 2014-08-05 19:00:17 +0200 |
commit | 471fdfab79845d63fe1016ae5e5729180fdb0f73 (patch) | |
tree | 68262891cf7a389bbf59f6e1b2ddee3ed631899e /src/drivers/net/efi | |
parent | [efi] Add ability to dump SNP device mode information (diff) | |
download | ipxe-471fdfab79845d63fe1016ae5e5729180fdb0f73.tar.gz ipxe-471fdfab79845d63fe1016ae5e5729180fdb0f73.tar.xz ipxe-471fdfab79845d63fe1016ae5e5729180fdb0f73.zip |
[efi] Reset multicast filter list when setting SNP receive filters
According to the UEFI specification, the MCastFilter parameter (which
we currently pass as NULL, along with a zero MCastFilterCnt) is
optional only if ResetMCastFilter is true.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/efi')
-rw-r--r-- | src/drivers/net/efi/snpnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/efi/snpnet.c b/src/drivers/net/efi/snpnet.c index 61b66c62..9d3f97b9 100644 --- a/src/drivers/net/efi/snpnet.c +++ b/src/drivers/net/efi/snpnet.c @@ -335,7 +335,7 @@ static int snpnet_open ( struct net_device *netdev ) { EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST | EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS | EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST ); - if ( ( efirc = snp->snp->ReceiveFilters ( snp->snp, filters, 0, FALSE, + if ( ( efirc = snp->snp->ReceiveFilters ( snp->snp, filters, 0, TRUE, 0, NULL ) ) != 0 ) { rc = -EEFI ( efirc ); DBGC ( snp, "SNP %s could not set receive filters: %s\n", |