Merge branch 'yhkylin/v101-fork' into 'yhkylin/v101'
修改BUG 180890 【整机-联想开天】【M70Z-G1TS】移动热点开启显示异常【5.4.18-93-generic】,配合后端修改,切换热点频率时清除信道配置 See merge request kylinos-src/kylin-nm!223
This commit is contained in:
commit
63825a30c9
|
@ -1211,6 +1211,9 @@ void KyWirelessConnectOperation::updateWirelessApSetting(
|
||||||
NMVariantMapMap newMap = apConnectSettingPtr->toMap();
|
NMVariantMapMap newMap = apConnectSettingPtr->toMap();
|
||||||
if (newMap.contains(KEY_802_11_WIRELESS)) {
|
if (newMap.contains(KEY_802_11_WIRELESS)) {
|
||||||
newMap[KEY_802_11_WIRELESS].insert(KEY_BLACKLIST_HOSTNAME, blackList);
|
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);
|
apConnectPtr->update(newMap);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue