From 60372f58be909dc2d50927225b98dafcf8d687ef Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Thu, 3 Dec 2020 02:22:05 +0000 Subject: MFC r367812: ipheth(4): Fix for iOS 14 Fix USB tethering for iOS 14. Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038 PR: 249979 Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D27250 --- sys/dev/usb/net/if_iphethvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/net/if_iphethvar.h b/sys/dev/usb/net/if_iphethvar.h index 65b0c940c600..5345bc7881ed 100644 --- a/sys/dev/usb/net/if_iphethvar.h +++ b/sys/dev/usb/net/if_iphethvar.h @@ -37,7 +37,7 @@ #define IPHETH_USBINTF_SUBCLASS 253 #define IPHETH_USBINTF_PROTO 1 -#define IPHETH_BUF_SIZE 1516 +#define IPHETH_BUF_SIZE 1514 #define IPHETH_TX_TIMEOUT 5000 /* ms */ #define IPHETH_RX_FRAMES_MAX 1 -- cgit v1.2.3