unbreak the ability to create a WLAN network during runtime

(Boeing r1810)
This commit is contained in:
ahrenholz 2013-12-09 23:43:46 +00:00
parent 5a1e8bfdca
commit ddfc6f5de7

View file

@ -229,7 +229,7 @@ class WlanNode(LxBrNet):
if (self.verbose):
self.info("updating model %s" % model_name)
if self.model is None or self.model._name != model_name:
raise ValueError, "model %s not configured" % model_name
return
model = self.model
if model._type == coreapi.CORE_TLV_REG_WIRELESS:
if not model.updateconfig(values):