diff options
| author | danicampora | 2015-10-14 09:45:37 +0200 |
|---|---|---|
| committer | danicampora | 2015-10-17 23:21:44 +0200 |
| commit | e19dfe1c320869de392070d97c98b55942f121d4 (patch) | |
| tree | b1ae21b7cf342f9305a806e2456b782babaa94ce /cc3200 | |
| parent | affcbe4139bfa6bb331edc207d687bb13aa05d65 (diff) | |
cc3200: In scan results rename 'auth' field to 'sec'.
As defined by the new API, since 'auth' is actually a tuple
composed by the security type and the key.
Diffstat (limited to 'cc3200')
| -rw-r--r-- | cc3200/mods/modwlan.c | 2 | ||||
| -rw-r--r-- | cc3200/qstrdefsport.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cc3200/mods/modwlan.c b/cc3200/mods/modwlan.c index 98568adea..8db89b376 100644 --- a/cc3200/mods/modwlan.c +++ b/cc3200/mods/modwlan.c @@ -857,7 +857,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_KW(wlan_init_obj, 1, wlan_init); STATIC mp_obj_t wlan_scan(mp_obj_t self_in) { STATIC const qstr wlan_scan_info_fields[] = { - MP_QSTR_ssid, MP_QSTR_bssid, MP_QSTR_auth, MP_QSTR_channel, MP_QSTR_rssi + MP_QSTR_ssid, MP_QSTR_bssid, MP_QSTR_sec, MP_QSTR_channel, MP_QSTR_rssi }; // check for correct wlan mode diff --git a/cc3200/qstrdefsport.h b/cc3200/qstrdefsport.h index a293e69a0..1b0413075 100644 --- a/cc3200/qstrdefsport.h +++ b/cc3200/qstrdefsport.h @@ -293,6 +293,7 @@ Q(scan) Q(connect) Q(isconnected) Q(disconnect) +Q(sec) Q(channel) Q(rssi) Q(ifconfig) |
