aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_common
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-06-23 12:16:31 -0700
committerDmitry Shmidt <dimitrysh@google.com>2014-06-23 12:16:31 -0700
commit2271d3fdd5982d0e5e81cf9999a861bba933eacb (patch)
tree3fbd05084770c6f00b0ba3b102b3af91e3a80a5c /src/eap_common
parent0c08fdcf5231617f2340cb18e45769a8ed3a1dc4 (diff)
downloadandroid_external_wpa_supplicant_8-2271d3fdd5982d0e5e81cf9999a861bba933eacb.tar.gz
android_external_wpa_supplicant_8-2271d3fdd5982d0e5e81cf9999a861bba933eacb.tar.bz2
android_external_wpa_supplicant_8-2271d3fdd5982d0e5e81cf9999a861bba933eacb.zip
Cumulative patch from commit f95a4524c2c00476e46b7999426ffdcbc7cd538f
f95a452 nl80211: Improve debug output by printing SA and DA in frames dedfa44 Print frame type name in debug output 57a8f8a nl80211: Use low-priority scan for OBSS scan 1b928f9 P2P: Allow passphrase length to be configured e985246 eapol_test: Add PC/SC reader and PIN command line arguments 5a62060 Use pcsc_reader configuration in one for scard_init() call f3c6b23 EAP-SIM': Fix AT_KDF parser to avoid infinite loop 79122f9 EAP-SIM/AKA: Remove unused RESULT_FAILURE state Change-Id: I142bed35a75ed228e145e50c961dcde22a9815f7 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/eap_common')
-rw-r--r--src/eap_common/eap_sim_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_common/eap_sim_common.c b/src/eap_common/eap_sim_common.c
index e1773bf1..ae021858 100644
--- a/src/eap_common/eap_sim_common.c
+++ b/src/eap_common/eap_sim_common.c
@@ -893,7 +893,7 @@ int eap_sim_parse_attr(const u8 *start, const u8 *end,
if (attr->kdf_count == EAP_AKA_PRIME_KDF_MAX) {
wpa_printf(MSG_DEBUG, "EAP-AKA': Too many "
"AT_KDF attributes - ignore this");
- continue;
+ break;
}
attr->kdf[attr->kdf_count] = WPA_GET_BE16(apos);
attr->kdf_count++;