diff options
| author | Paul David <paul.david@ettus.com> | 2016-08-01 11:26:51 -0700 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2016-08-01 18:38:58 -0700 | 
| commit | dbbda210c2f9a0e28850b5983e40e3c1e19d2b22 (patch) | |
| tree | ac12c7d7addbb2f6ea0680ff94d78dd84330172c /host | |
| parent | 19fe9ddc4881d0d1f07be9f2d6b5b39dc834bdfc (diff) | |
| download | uhd-dbbda210c2f9a0e28850b5983e40e3c1e19d2b22.tar.gz uhd-dbbda210c2f9a0e28850b5983e40e3c1e19d2b22.tar.bz2 uhd-dbbda210c2f9a0e28850b5983e40e3c1e19d2b22.zip  | |
transport: fixed an issue where the number of conversions were incorrectly based on the number of buffers
 - The number of conversions should be based on the number of channels available
 - This fix corrects a segmentation fault in rx_multi_samples
Diffstat (limited to 'host')
| -rw-r--r-- | host/lib/transport/super_recv_packet_handler.hpp | 2 | ||||
| -rw-r--r-- | host/lib/transport/super_send_packet_handler.hpp | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp index b65d7c7aa..541d9f3bc 100644 --- a/host/lib/transport/super_recv_packet_handler.hpp +++ b/host/lib/transport/super_recv_packet_handler.hpp @@ -665,7 +665,7 @@ private:          _convert_bytes_to_copy = bytes_to_copy;          //perform N channels of conversion -        for (size_t i = 0; i < buffs.size(); i++) { +        for (size_t i = 0; i < this->size(); i++) {              convert_to_out_buff(i);          } diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index a6b9b12d0..7f43168a0 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -370,7 +370,7 @@ private:          _convert_if_packet_info = &if_packet_info;          //perform N channels of conversion -        for (size_t i = 0; i < buffs.size(); i++) { +        for (size_t i = 0; i < this->size(); i++) {              convert_to_in_buff(i);          }  | 
