diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-16 15:30:43 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:53 -0800 |
commit | e2503018dac0ed1fb08fae9444f3282464942bfa (patch) | |
tree | 9b6bdd7d8447c21c757561dba0c828a97b3df144 /mpm/python/usrp_mpm/periph_manager/n310.py | |
parent | 0a9632ad39179ce80fe3c20a990e488de06170b1 (diff) | |
download | uhd-e2503018dac0ed1fb08fae9444f3282464942bfa.tar.gz uhd-e2503018dac0ed1fb08fae9444f3282464942bfa.tar.bz2 uhd-e2503018dac0ed1fb08fae9444f3282464942bfa.zip |
mpm: SIDs are returned to pool after device is uninitialized
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n310.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index 470d1c84d..7c52bbf30 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -149,7 +149,7 @@ class n310(PeriphManagerBase): Get the MAC address of the sender and store it in the FPGA ARP table """ mac_addr = get_mac_addr(sender_addr) - new_ep = self.available_endpoints.pop(0) + new_ep = self._available_endpoints.pop(0) if mac_addr is not None: if sender_addr not in self.sid_endpoints: self.sid_endpoints.update({sender_addr: (new_ep,)}) |