fix missing length reset in NAS test

This commit is contained in:
Andre Puschmann 2018-10-10 16:01:51 +02:00
parent aebea06f15
commit 3ebf4792de
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ int security_command_test()
nas.write_pdu(LCID, tmp); nas.write_pdu(LCID, tmp);
// TODO: add check for authentication response // TODO: add check for authentication response
rrc_dummy.reset();
// reuse buffer for security mode command // reuse buffer for security mode command
memcpy(tmp->msg, sec_mode_command_pdu, sizeof(sec_mode_command_pdu)); memcpy(tmp->msg, sec_mode_command_pdu, sizeof(sec_mode_command_pdu));