diff options
author | michael-west <michael.west@ettus.com> | 2018-07-13 20:09:49 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-13 20:58:01 -0700 |
commit | 72e5fda9323a2f485da5d5e66d0e42002190a11b (patch) | |
tree | 5a182e7b07172f857174d603c5f5c72d7d106f5c /host/lib/usrp/b200/b200_impl.hpp | |
parent | 04987da5150d4043d8a424dd897eeae0b7110ee5 (diff) | |
download | uhd-72e5fda9323a2f485da5d5e66d0e42002190a11b.tar.gz uhd-72e5fda9323a2f485da5d5e66d0e42002190a11b.tar.bz2 uhd-72e5fda9323a2f485da5d5e66d0e42002190a11b.zip |
fixup! B200: Check if recv_frame_size is larger than minimum value
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |