fix issue with assigning imsi in pcsc

This commit is contained in:
Andre Puschmann 2018-09-05 13:39:13 +02:00
parent d19eb28a16
commit 855a55d4d8
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ int pcsc_usim::init(usim_args_t *args, srslte::log *log_)
log->error("Error reading IMSI from SIM.\n");
return ret;
}
imsi_str = tmp;
imsi_str.assign(tmp, tmp_len);
// Check extracted IMSI and convert
if(15 == imsi_str.length()) {