From 72e5fda9323a2f485da5d5e66d0e42002190a11b Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 13 Jul 2018 20:09:49 -0700 Subject: fixup! B200: Check if recv_frame_size is larger than minimum value --- host/lib/usrp/b200/b200_impl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/b200/b200_impl.hpp') diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index c1dbb88f6..3e1a62249 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -84,6 +84,7 @@ static const unsigned char B200_USB_DATA_SEND_ENDPOINT = 2; static const int B200_USB_DATA_DEFAULT_FRAME_SIZE = 8176; // recv_frame_size values below this will be upped to this value static const int B200_USB_DATA_MIN_RECV_FRAME_SIZE = 40; +static const int B200_USB_DATA_MAX_RECV_FRAME_SIZE = 16360; /* * VID/PID pairs for all B2xx products -- cgit v1.2.3