aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n310.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-06-03 01:33:54 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:59 -0800
commit40235b8c5aba6acec2acdc4135b828b1d9785a96 (patch)
tree6570aa9f99872979e51106f5249fe82080c611dc /mpm/python/usrp_mpm/periph_manager/n310.py
parent0d659863da607acaaf15ab69a662af2da006f65e (diff)
downloaduhd-40235b8c5aba6acec2acdc4135b828b1d9785a96.tar.gz
uhd-40235b8c5aba6acec2acdc4135b828b1d9785a96.tar.bz2
uhd-40235b8c5aba6acec2acdc4135b828b1d9785a96.zip
mpm/mpmd: Call init() during UHD session init, not on hwd spawn
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n310.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py
index 7b43aec38..537f43ee8 100644
--- a/mpm/python/usrp_mpm/periph_manager/n310.py
+++ b/mpm/python/usrp_mpm/periph_manager/n310.py
@@ -141,13 +141,14 @@ class n310(PeriphManagerBase):
Calls init() on the parent class, and then programs the Ethernet
dispatchers accordingly.
"""
- super(n310, self).init(args)
+ result = super(n310, self).init(args)
self._eth_dispatchers = {
x: EthDispatcherTable(self.eth_tables.get(x))
for x in list(self._chdr_interfaces.keys())
}
for ifname, table in iteritems(self._eth_dispatchers):
table.set_ipv4_addr(self._chdr_interfaces[ifname]['ip_addr'])
+ return result
def _allocate_sid(self, sender_addr, port, sid, xbar_src_addr, xbar_src_port, new_ep):
"""