Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
52ef3c91
Commit
52ef3c91
authored
Aug 31, 2015
by
Jakub
Browse files
Fixed bug WIFI AUTH_OPEN #623
Fixed a bug which prevented from setting unprotected AP
parent
2775ca6e
Changes
1
Show whitespace changes
Inline
Side-by-side
app/modules/wifi.c
View file @
52ef3c91
...
...
@@ -1055,7 +1055,7 @@ static int wifi_ap_getconfig( lua_State* L )
struct
softap_config
config
;
wifi_softap_get_config
(
&
config
);
lua_pushstring
(
L
,
config
.
ssid
);
if
(
config
.
authmode
=
AUTH_OPEN
)
if
(
config
.
authmode
=
=
AUTH_OPEN
)
lua_pushnil
(
L
);
else
lua_pushstring
(
L
,
config
.
password
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment