fix gen_emm_data
It was not setting emm_data->eplmn.plmn[X], only emm_data->eplmn.n_plmns, leading to the UE to dig for PLMN 00000. (It's not the end of the story, seems like the PLMN selection does not work, the UE only tries one from what I've seen, but I didn't dig much, may be wrong.)
This commit is contained in:
@@ -74,7 +74,7 @@ bool parse_config_file(const char *output_dir, const char *conf_filename, int ou
|
||||
gen_usim_data(&usim_data_conf, &usim_data, &user_plmns, networks);
|
||||
|
||||
gen_emm_data(&emm_data, usim_data_conf.hplmn, usim_data_conf.msin,
|
||||
user_plmns.equivalents_home.size, networks);
|
||||
&user_plmns.equivalents_home, networks);
|
||||
|
||||
if ( output_flags & OUTPUT_UEDATA ) {
|
||||
write_user_data(output_dir, i, &user_data);
|
||||
|
||||
Reference in New Issue
Block a user