qmi: fix dynamic array macro
authorDavid Bauer <david.bauer@uniberg.com>
Wed, 3 Jan 2024 14:16:19 +0000 (16:16 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 25 Aug 2024 00:36:04 +0000 (02:36 +0200)
commitf582e0009c730403a3b2a0592619bb87b5a54898
treeb93638fc970b39b4eee07bd10f32bf91b0f428e2
parentd381f80de6aceb9858415521a241cbb25006c81c
qmi: fix dynamic array macro

The macro was using the parameter for referencing the length field, which
used the same suffix as the parameter name.

Rename the length parameter to correctly access the length field.

Signed-off-by: David Bauer <david.bauer@uniberg.com>
common/qmi-message.h