fix sota bug:when message is DATA BLOCK, the data head has been subed in sota_parse, so should not check in sota_process
@@ -468,15 +468,9 @@ int32_t sota_process(void *arg, const int8_t *buf, int32_t buflen)
break;
}
case MSG_GET_BLOCK:
- {
- if (phead->data_len > BLOCK_HEAD)
{
ret = sota_data_block_process(phead, pbuf);
- }
- else
- {
- ret = SOTA_INVALID_PACKET;
- }
+
break;
}
case MSG_EXC_UPDATE:
