Skip to content

Commit 696ae98

Browse files
authored
[NXP][platform][common] Fix for WiFi scenario: connect -> disconnect -> 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. (project-chip#32785)
1 parent f46cdf3 commit 696ae98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/platform/nxp/common/ConnectivityManagerImpl.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ void ConnectivityManagerImpl::_OnPlatformEvent(const ChipDeviceEvent * event)
133133
}
134134
else
135135
{
136-
is_wlan_added = false;
136+
/* In case network was added before, signal that it is added and that connection can start */
137+
is_wlan_added = true;
137138
}
138139

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

0 commit comments

Comments
 (0)