wifi channel
This commit is contained in:
parent
e9d917c90d
commit
b0e51ef5af
|
@ -37,6 +37,7 @@ KyWirelessNetItem::KyWirelessNetItem(NetworkManager::WirelessNetwork::Ptr net)
|
|||
m_connDbusPath = "";
|
||||
m_secuType = "";
|
||||
m_device = "";
|
||||
m_channel = 0;
|
||||
|
||||
init(net);
|
||||
}
|
||||
|
@ -80,6 +81,7 @@ void KyWirelessNetItem::initInfoBySsid()
|
|||
m_connName = conn->name();
|
||||
m_connDbusPath = conn->path();
|
||||
m_isConfigured = true;
|
||||
m_channel = wifi_sett->channel();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ public:
|
|||
bool m_isConfigured;
|
||||
QString m_connName;
|
||||
QString m_connDbusPath;
|
||||
uint m_channel;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -453,6 +453,7 @@ void KyWirelessNetResource::onConnectionAdd(QString uuid)
|
|||
m_WifiNetworkList[iter.key()][i].m_connName = conn->name();
|
||||
m_WifiNetworkList[iter.key()][i].m_connectUuid = conn->uuid();
|
||||
m_WifiNetworkList[iter.key()][i].m_connDbusPath = conn->path();
|
||||
m_WifiNetworkList[iter.key()][i].m_channel = wireless_sett->channel();
|
||||
|
||||
devIfaceName = sett->interfaceName();
|
||||
ssid = iter.value().at(i).m_NetSsid;
|
||||
|
@ -492,6 +493,7 @@ void KyWirelessNetResource::onConnectionRemove(QString path)
|
|||
m_WifiNetworkList[iter.key()][i].m_connName = "";
|
||||
m_WifiNetworkList[iter.key()][i].m_connectUuid = "";
|
||||
m_WifiNetworkList[iter.key()][i].m_connDbusPath = "";
|
||||
m_WifiNetworkList[iter.key()][i].m_channel = 0;
|
||||
|
||||
devIfaceName = iter.key();
|
||||
ssid = iter.value().at(i).m_NetSsid;
|
||||
|
|
Loading…
Reference in New Issue