From b2cc2233517746acecead55b33e19f773ac07aee Mon Sep 17 00:00:00 2001 From: Nicolas Martignoni Date: Sun, 27 Oct 2024 16:48:08 +0100 Subject: [PATCH 1/2] Remove workaround of buggy code - See issue #143. --- bin/changewifisettings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/changewifisettings.py b/bin/changewifisettings.py index 118ad01..9fa9290 100755 --- a/bin/changewifisettings.py +++ b/bin/changewifisettings.py @@ -134,10 +134,6 @@ def do_channel(): new_channel = default_channel # new_channel is now valid. if is_networkmanager(): - # Workaround bug in NetworkManager: country_code is not used, so if new_channel is 12 and 13, - # we revert to default_channel (11). - # See https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/960. - new_channel = str(min(int(default_channel), int(new_channel))) # Set channel with nmcli subprocess.run(['sudo', 'nmcli', 'con', 'mod', 'WifiAP', 'wifi.channel', new_channel]) else: From 02d404a83647b8f8282b05f4947ba0ab0cf239d6 Mon Sep 17 00:00:00 2001 From: Nicolas Martignoni Date: Sun, 27 Oct 2024 17:09:03 +0100 Subject: [PATCH 2/2] Update release notes - See issue #144. --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f767a1..df31e10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/) and follow principles of [keep a changelog](https://keepachangelog.com). +## Version 2.18.2, unreleased + +__This version is not compatible with versions of Moodle prior to Moodle 4.4!__ + +### Fixed +- Channels 12 and 13 for wireless AP can be selected (issue #144). + ## Version 2.18.1, 2024-10-13 __This version is not compatible with versions of Moodle prior to Moodle 4.4!__