From 83de5d96b7bab39e0125e2411e534e24c7af3595 Mon Sep 17 00:00:00 2001 From: chenxuechao Date: Thu, 20 Jul 2023 09:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=20180890=20=E3=80=90?= =?UTF-8?q?=E6=95=B4=E6=9C=BA-=E8=81=94=E6=83=B3=E5=BC=80=E5=A4=A9?= =?UTF-8?q?=E3=80=91=E3=80=90M70Z-G1TS=E3=80=91=E7=A7=BB=E5=8A=A8=E7=83=AD?= =?UTF-8?q?=E7=82=B9=E5=BC=80=E5=90=AF=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E3=80=905.4.18-93-generic=E3=80=91=EF=BC=8C=E9=85=8D=E5=90=88?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=83=AD=E7=82=B9=E9=A2=91=E7=8E=87=E6=97=B6=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E4=BF=A1=E9=81=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/dbus-interface/kywirelessconnectoperation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/dbus-interface/kywirelessconnectoperation.cpp b/src/backend/dbus-interface/kywirelessconnectoperation.cpp index 8cde9ded..95464fe6 100644 --- a/src/backend/dbus-interface/kywirelessconnectoperation.cpp +++ b/src/backend/dbus-interface/kywirelessconnectoperation.cpp @@ -1211,6 +1211,9 @@ void KyWirelessConnectOperation::updateWirelessApSetting( NMVariantMapMap newMap = apConnectSettingPtr->toMap(); if (newMap.contains(KEY_802_11_WIRELESS)) { newMap[KEY_802_11_WIRELESS].insert(KEY_BLACKLIST_HOSTNAME, blackList); + if (wirelessBand == WIFI_BAND_2_4GHZ) { + newMap[KEY_802_11_WIRELESS].remove("channel"); + } } apConnectPtr->update(newMap); }