apps/blestress - change pattern data offset to 0
in stress_fill_mbuf_with_pattern() filling mbuf should begin at start of
pattern buffer, as the full length of that buffer if being copied
diff --git a/apps/blestress/src/stress.c b/apps/blestress/src/stress.c
index 0bed576..1bdbafa 100644
--- a/apps/blestress/src/stress.c
+++ b/apps/blestress/src/stress.c
@@ -121,7 +121,7 @@
rest = len % STRESS_PAT_LEN;
for (i = 0; i < mul; ++i) {
- rc = os_mbuf_append(om, &test_6_pattern[29], STRESS_PAT_LEN);
+ rc = os_mbuf_append(om, &test_6_pattern[0], STRESS_PAT_LEN);
if (rc) {
os_mbuf_free_chain(om);
@@ -129,7 +129,7 @@
}
}
- rc = os_mbuf_append(om, &test_6_pattern[29], rest);
+ rc = os_mbuf_append(om, &test_6_pattern[0], rest);
if (rc) {
os_mbuf_free_chain(om);