mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
unit: Fix style issue
This commit is contained in:
parent
e12bdd02bd
commit
d0e76fda03
@ -54,10 +54,9 @@ static void ie_test(const void *data)
|
|||||||
ie_tlv_iter_init(&iter, test->buf, test->len);
|
ie_tlv_iter_init(&iter, test->buf, test->len);
|
||||||
|
|
||||||
while (ie_tlv_iter_next(&iter)) {
|
while (ie_tlv_iter_next(&iter)) {
|
||||||
|
|
||||||
ie = (struct ie *)&test->buf[pos];
|
ie = (struct ie *)&test->buf[pos];
|
||||||
printf("IE %d [%d/%d/%s]\n", count, ie->type, ie->len,
|
printf("IE %d [%d/%d/%s]\n", count, ie->type, ie->len,
|
||||||
l_util_hexstring(&test->buf[pos+2], ie->len));
|
l_util_hexstring(&test->buf[pos + 2], ie->len));
|
||||||
|
|
||||||
assert(iter.tag == test->buf[pos++]);
|
assert(iter.tag == test->buf[pos++]);
|
||||||
assert(iter.len == test->buf[pos++]);
|
assert(iter.len == test->buf[pos++]);
|
||||||
|
Loading…
Reference in New Issue
Block a user