llc: Initialize the LLC frame with garbage to detect wrong usage
This commit is contained in:
parent
550bb88a9e
commit
a42b2ad5ed
|
@ -33,6 +33,8 @@ void gprs_llc::reset()
|
|||
{
|
||||
m_index = 0;
|
||||
m_length = 0;
|
||||
|
||||
memset(frame, 0x42, sizeof(frame));
|
||||
}
|
||||
|
||||
void gprs_llc::reset_frame_space()
|
||||
|
|
Loading…
Reference in New Issue