daemon: fixed issue when setting default wlan config for a wlan node, using the session id instead of the node id
This commit is contained in:
parent
b430de226d
commit
a787f46719
2 changed files with 2 additions and 7 deletions
|
@ -518,7 +518,7 @@ class Session:
|
|||
self.set_node_pos(node, position.x, position.y)
|
||||
# setup default wlan
|
||||
if isinstance(node, WlanNode):
|
||||
self.mobility.set_model_config(self.id, BasicRangeModel.name)
|
||||
self.mobility.set_model_config(node.id, BasicRangeModel.name)
|
||||
# boot core nodes after runtime
|
||||
is_runtime = self.state == EventTypes.RUNTIME_STATE
|
||||
if is_runtime and isinstance(node, CoreNode):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue