Skip to content

Commit

Permalink
[NXP][platform][common] Fix for WiFi scenario: connect -> disconnect …
Browse files Browse the repository at this point in the history
…-> connect. Wifi network was connected previous, then a disconnect event happened, after which a connection command was issued again. In this case, the WiFi driver keeps the previous network credentials and it will not add them again. (#32785)
  • Loading branch information
mihai-ignat authored and pull[bot] committed Nov 20, 2024
1 parent ee1869c commit 3d0a6ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/nxp/common/ConnectivityManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ void ConnectivityManagerImpl::_OnPlatformEvent(const ChipDeviceEvent * event)
}
else
{
is_wlan_added = false;
/* In case network was added before, signal that it is added and that connection can start */
is_wlan_added = true;
}

/* At this point, the network details should be registered in the wlan driver */
Expand Down

0 comments on commit 3d0a6ae

Please sign in to comment.