diff options
author | Alain Lamar <alain_lamar@yahoo.de> | 2020-04-04 17:28:33 +0200 |
---|---|---|
committer | Alain Lamar <alain_lamar@yahoo.de> | 2020-04-04 17:34:16 +0200 |
commit | dd94de1f5721a63dd0ed06060d0e3673fc1e80d7 (patch) | |
tree | 997b47f879961457aa78fd850051cec5c3580efd /src/conf_mode | |
parent | 3e7fe69a6b03b053098171411e286ba515838842 (diff) | |
download | vyos-1x-dd94de1f5721a63dd0ed06060d0e3673fc1e80d7.tar.gz vyos-1x-dd94de1f5721a63dd0ed06060d0e3673fc1e80d7.zip |
wireless: T2208: bugfix: errors in the XML and Python file
Commits to
"interfaces wireless wlanX capabilities vht link-adaptation (unsolicited|both)"
always failed.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index b6e62b0aa..9714e40e9 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -799,7 +799,7 @@ default_config_data = { 'cap_vht_center_freq_2' : '', 'cap_vht_chan_set_width' : '', 'cap_vht_ldpc' : False, - 'cap_vht_link_adaptation' : False, + 'cap_vht_link_adaptation' : '', 'cap_vht_max_mpdu_exp' : '', 'cap_vht_max_mpdu' : '', 'cap_vht_short_gi' : [], @@ -1043,7 +1043,7 @@ def get_config(): # VHT link adaptation capabilities if conf.exists('capabilities vht link-adaptation'): wifi['cap_vht'] = True - wifi['cap_vht_link_adaptation'] = True + wifi['cap_vht_link_adaptation'] = conf.return_value('capabilities vht link-adaptation') # Set the maximum length of A-MPDU pre-EOF padding that the station can receive if conf.exists('capabilities vht max-mpdu-exp'): |