Fixed header length calculation of DELETE payload.

This commit is contained in:
Tobias Brunner
2012-03-20 17:30:50 +01:00
parent d6cec44b24
commit f3cc8589b1
@@ -211,9 +211,9 @@ METHOD(payload_t, get_header_length, int,
{ {
if (this->type == DELETE) if (this->type == DELETE)
{ {
return 8 + this->spi_size; return 8;
} }
return 12 + this->spi_size; return 12;
} }
METHOD(payload_t, get_payload_type, payload_type_t, METHOD(payload_t, get_payload_type, payload_type_t,