Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions plugin/NetworkManagerImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1495,15 +1495,6 @@ namespace WPEFramework

if (m_wlanEnabled.load() && m_wlanConnected.load())
{
// Waking from DeepSleep with Network Standby ON: the AP may have
// changed channel while the device slept (802.11 CSA). Trigger an
// active scan so the driver discovers the AP on its new channel.
NMLOG_INFO("OnPowerModeChanged: waking from DeepSleep, triggering active WiFi scan");
if (StartWiFiScan(nullptr, nullptr) != Core::ERROR_NONE)
{
NMLOG_ERROR("OnPowerModeChanged: StartWiFiScan failed");
}

NMLOG_INFO("OnPowerModeChanged: waking from DeepSleep, requesting DHCP lease on wlan0");
if (ReacquireDHCPLease("wlan0") != Core::ERROR_NONE)
{
Expand Down
Loading