Skip to content

Commit e123eea

Browse files
dinabenamarchapongatien
authored andcommitted
[nxp fromtree] [NXP][platform][common] Set CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION to 1 by default if wifi is enabled (project-chip#36226)
Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com> (cherry picked from commit 71170fe)
1 parent 6b68a1a commit e123eea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platform/nxp/common/CHIPDeviceNXPPlatformDefaultConfig.h

+4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
// ==================== Platform Adaptations ====================
2929

3030
#ifndef CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION
31+
#if CONFIG_CHIP_WIFI || CHIP_DEVICE_CONFIG_ENABLE_WPA
32+
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 1
33+
#else
3134
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 0
35+
#endif // CONFIG_CHIP_WIFI || CHIP_DEVICE_CONFIG_ENABLE_WPA
3236
#endif // CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION
3337

3438
#ifndef CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP

0 commit comments

Comments
 (0)