summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modmachine.c
diff options
context:
space:
mode:
authorMark <markxr@gmail.com>2016-06-04 16:43:32 +0100
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-04 22:02:01 +0300
commit822e9ca8f3d2f63c7477bb7fb859b5d9ad948a3b (patch)
treed5fd7ed10448222019ed0d02f961c5b6d76ce08e /esp8266/modmachine.c
parenta1a261d8e892007dd01a51255978ac601c0b427f (diff)
downloadmicropython-822e9ca8f3d2f63c7477bb7fb859b5d9ad948a3b.tar.gz
micropython-822e9ca8f3d2f63c7477bb7fb859b5d9ad948a3b.zip
esp8266/modnetwork: Use struct bss_info::ssid_len for ESSID length.
Instead of calling strlen(), which won't work if there're 32 chars in returned ESSID. struct bss_info::ssid_len is not documented in SDK API Guide, but is present in SDK headers since 1.4.0. Just in case, previous code is left commented.
Diffstat (limited to 'esp8266/modmachine.c')
0 files changed, 0 insertions, 0 deletions