Merge PR #33: Fix build with newest libnymea-networkmanager

This commit is contained in:
Jenkins nymea 2020-07-02 11:10:28 +02:00
commit 849df5cc34
2 changed files with 2 additions and 2 deletions

2
debian/control vendored
View File

@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9.0.0),
qtbase5-dev-tools, qtbase5-dev-tools,
libqt5bluetooth5, libqt5bluetooth5,
qtconnectivity5-dev, qtconnectivity5-dev,
libnymea-networkmanager-dev (>= 0.3.0), libnymea-networkmanager-dev (>= 0.4.0),
libnymea-gpio-dev libnymea-gpio-dev
Standards-Version: 3.9.7 Standards-Version: 3.9.7

View File

@ -167,7 +167,7 @@ void Core::evaluateNetworkManagerState(NetworkManager::NetworkManagerState state
return; return;
// Note: if the wireless device is in the access point mode, the bluetooth server should stop // Note: if the wireless device is in the access point mode, the bluetooth server should stop
if (m_wirelessDevice && m_wirelessDevice->mode() == WirelessNetworkDevice::ModeAccessPoint) { if (m_wirelessDevice && m_wirelessDevice->wirelessMode() == WirelessNetworkDevice::WirelessModeAccessPoint) {
stopService(); stopService();
return; return;
} }