]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add preliminary MNC length determination based on IMSI
authorJouni Malinen <j@w1.fi>
Sun, 22 Jan 2012 19:33:57 +0000 (21:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Jan 2012 19:54:24 +0000 (21:54 +0200)
commite6c62749476612eede63ceb4c0d79c7fd8e27772
treef8192d8cafafbf0309e6ef29ad0cbd58e3fd6cad
parenta3e0105692d4efdafcf50bf438e5aa140217bea1
Add preliminary MNC length determination based on IMSI

Some SIM cards do not include MNC length with in EF_AD. Try to figure
out the MNC length based on the MCC/MNC values in the beginning of the
IMSI. This covers a prepaid Elisa/Kolumbus card that would have ended
up using incorrect MNC length based on the 3-digit default.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eap_peer/eap.c