File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ typedef enum
118
118
119
119
typedef struct
120
120
{
121
- char ssid [WFX_MAX_SSID_LENGTH + 1 ] = {0 };
122
- size_t ssid_length ;
123
- char passkey [WFX_MAX_PASSKEY_LENGTH + 1 ] = {0 };
124
- size_t passkey_length ;
125
- wfx_sec_t security ;
121
+ char ssid [WFX_MAX_SSID_LENGTH + 1 ] = { 0 };
122
+ size_t ssid_length = 0 ;
123
+ char passkey [WFX_MAX_PASSKEY_LENGTH + 1 ] = { 0 };
124
+ size_t passkey_length = 0 ;
125
+ wfx_sec_t security = WFX_SEC_UNSPECIFIED ;
126
126
} wfx_wifi_provision_t ;
127
127
128
128
typedef enum
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ CHIP_ERROR WifiSleepManager::VerifyAndTransitionToLowPowerMode(PowerEvent event)
169
169
wfx_wifi_provision_t wifiConfig;
170
170
wfx_get_wifi_provision (&wifiConfig);
171
171
172
- if (! (wifiConfig.ssid [0 ] ! = 0 ) && (mCallback && mCallback ->CanGoToDeepSleep ()))
172
+ if ((wifiConfig.ssid [0 ] = = 0 ) && (mCallback && mCallback ->CanGoToDeepSleep ()))
173
173
{
174
174
return ConfigureDeepSleep ();
175
175
}
You can’t perform that action at this time.
0 commit comments