Changeset 1433ecda in mainline for uspace/app/wifi_supplicant/wifi_supplicant.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wifi_supplicant/wifi_supplicant.c
r47b2d7e3 r1433ecda 50 50 ((i < 0) ? "NA" : name_arr[i]) 51 51 52 static const char *ieee80211_security_type_strs[] = {52 static const char *ieee80211_security_type_strs[] = { 53 53 "OPEN", "WEP", "WPA", "WPA2" 54 54 }; 55 55 56 static const char *ieee80211_security_alg_strs[] = {56 static const char *ieee80211_security_alg_strs[] = { 57 57 "WEP40", "WEP104", "CCMP", "TKIP" 58 58 }; 59 59 60 static const char *ieee80211_security_auth_strs[] = {60 static const char *ieee80211_security_auth_strs[] = { 61 61 "PSK", "8021X" 62 62 }; … … 175 175 176 176 errno_t rc = ieee80211_disconnect(sess); 177 if (rc != EOK) {177 if (rc != EOK) { 178 178 if (rc == EREFUSED) 179 179 printf("Device is not ready yet.\n"); … … 186 186 187 187 rc = ieee80211_connect(sess, ssid_start, password); 188 if (rc != EOK) {188 if (rc != EOK) { 189 189 if (rc == EREFUSED) 190 190 printf("Device is not ready yet.\n");
Note:
See TracChangeset
for help on using the changeset viewer.