We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5ad225 commit e7386afCopy full SHA for e7386af
netjsonconfig/backends/airos/converters.py
@@ -718,13 +718,13 @@ def _access_point_intermediate(self, original):
718
719
if original:
720
head = original[0]
721
- protocol = head['wireless']['encryption']['protocol']
722
- status = wpasupplicant_status[protocol]
+ proto = protocol(head)
+ status = wpasupplicant_status[proto]
723
result.append({
724
'status': status
725
})
726
temp_dev['status'] = status
727
- network = ap_auth_protocols[protocol](head)
+ network = ap_auth_protocols[proto](head)
728
729
730
'device': [temp_dev],
0 commit comments