Skip to content

Commit

Permalink
[fix] Fixed optional management frame protection #264
Browse files Browse the repository at this point in the history
Closes #264
  • Loading branch information
nemesifier committed May 4, 2023
1 parent b66494d commit 9b93b54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
"ieee80211w": {
"type": "string",
"title": "management frame protection",
"enum": ["1"],
"enum": ["1", "2"],
"readOnly": True,
"options": {"enum_titles": ["optional", "required"]},
"propertyOrder": 4,
Expand Down
4 changes: 2 additions & 2 deletions tests/openwrt/test_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_parse_wpa3_personal(self):
"protocol": "wpa2_personal_mixed",
"cipher": "ccmp",
"key": "passphrase012345",
"ieee80211w": "1",
"ieee80211w": "2",
},
},
}
Expand All @@ -91,7 +91,7 @@ def test_parse_wpa3_personal(self):
config wifi-iface 'wifi_wlan0'
option device 'radio0'
option encryption 'sae-mixed+ccmp'
option ieee80211w '1'
option ieee80211w '2'
option ifname 'wlan0'
option key 'passphrase012345'
option mode 'ap'
Expand Down

0 comments on commit 9b93b54

Please sign in to comment.