Commit 14f7ab5e authored by Jan Grulich's avatar Jan Grulich

Wired connection: default to Full duplex when duplex is not set

BUG: 413211
parent f2fc348d
......@@ -81,7 +81,8 @@ void WiredConnectionWidget::loadConfig(const NetworkManager::Setting::Ptr &setti
m_widget->speed->setValue(wiredSetting->speed());
}
if (wiredSetting->duplexType() == NetworkManager::WiredSetting::Full) {
// Default to "Full" duplex when duplex type is not set
if (wiredSetting->duplexType() == NetworkManager::WiredSetting::Full || wiredSetting->duplexType() == NetworkManager::WiredSetting::UnknownDuplexType) {
m_widget->duplex->setCurrentIndex(0);
} else {
m_widget->duplex->setCurrentIndex(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment