for (i = 0; i < profile_iterator.count; i++) {
net_profile_info_t *ap = &profile_iterator.profiles[i];
switch (ap->ProfileInfo.Wlan.security_info.sec_mode) {
- case WLAN_SEC_MODE_NONE:
- type = WIFI_SECURITY_TYPE_NONE;
- break;
case WLAN_SEC_MODE_WEP:
type = WIFI_SECURITY_TYPE_WEP;
break;
break;
case WLAN_SEC_MODE_WPA_PSK:
case WLAN_SEC_MODE_WPA2_PSK:
+ case WLAN_SEC_MODE_WPA_FT_PSK:
type = WIFI_SECURITY_TYPE_WPA_PSK;
break;
+ case WLAN_SEC_MODE_NONE:
+ default:
+ type = WIFI_SECURITY_TYPE_NONE;
+ break;
}
if (profile_iterator.profiles[i].ProfileInfo.Wlan.is_hidden == TRUE) {
if (type == sec_type) {