length of frame can be 4 bytes.
@@ -349,7 +349,7 @@ void radio_getReceivedFrame(uint8_t* pBufRead,
}
- if(len <= CC2538_RF_MIN_PACKET_LEN) {
+ if(len < CC2538_RF_MIN_PACKET_LEN) {
//too short
CC2538_RF_CSP_ISFLUSHRX();
return;
