radv: fix the sample max distance value for 8x

It should be 7, not 8.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Samuel Pitoiset
2019-05-16 11:54:06 +02:00
parent bc4548ca3d
commit e9bfd88183

View File

@@ -1335,7 +1335,7 @@ static const uint32_t sample_locs_8x[] = {
0,
0,
};
static const unsigned max_dist_8x = 8;
static const unsigned max_dist_8x = 7;
static const uint64_t centroid_priority_8x = 0x7654321076543210ull;
unsigned radv_get_default_max_sample_dist(int log_samples)