The decision whether to segment or not didn't consider the size of the MIC diff --git a/mesh/net.c b/mesh/net.c index 2d75c4f7d..96e82fe1c 100644 --- a/mesh/net.c +++ b/mesh/net.c @@ -2098,7 +2098,7 @@ bool net_access_layer_send(uint8_t ttl, uint16_t src, uint32_t dst, if (!result) return false; - segN = SEG_MAX(len); + segN = SEG_MAX(len + sizeof(uint32_t)); /* Only one ACK required SAR message per destination at a time */ if (segN && IS_UNICAST(dst)) { -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html