llc: Initialize the LLC frame with garbage to detect wrong usage

This commit is contained in:
Holger Hans Peter Freyther 2013-11-26 16:39:47 +01:00
parent 550bb88a9e
commit a42b2ad5ed
1 changed files with 2 additions and 0 deletions

View File

@ -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()