summaryrefslogtreecommitdiffstats
path: root/src/interface/efi
diff options
context:
space:
mode:
authorSimon Rettberg2018-09-13 15:45:29 +0200
committerSimon Rettberg2018-09-13 15:45:29 +0200
commit53a91d5caf08276d2cbf0de468e1a5e46537454c (patch)
tree3f53a6403785de9f2feebf25d1d82b55656d3456 /src/interface/efi
parent[settings] Add md5 encoding type for doing ${foo:md5} (diff)
parent[sfc] Add support for X25xx adapters (diff)
downloadipxe-53a91d5caf08276d2cbf0de468e1a5e46537454c.tar.gz
ipxe-53a91d5caf08276d2cbf0de468e1a5e46537454c.tar.xz
ipxe-53a91d5caf08276d2cbf0de468e1a5e46537454c.zip
Merge branch 'master' into openslx
Diffstat (limited to 'src/interface/efi')
-rw-r--r--src/interface/efi/efi_snp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_snp.c b/src/interface/efi/efi_snp.c
index 3f95a8961..9c1b14d87 100644
--- a/src/interface/efi/efi_snp.c
+++ b/src/interface/efi/efi_snp.c
@@ -123,7 +123,7 @@ static void efi_snp_set_mode ( struct efi_snp_device *snpdev ) {
mode->HwAddressSize = ll_addr_len;
mode->MediaHeaderSize = ll_protocol->ll_header_len;
- mode->MaxPacketSize = netdev->max_pkt_len;
+ mode->MaxPacketSize = netdev->mtu;
mode->ReceiveFilterMask = ( EFI_SIMPLE_NETWORK_RECEIVE_UNICAST |
EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST |
EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST );