advertising: parse_secondary: fix loop condition
authorChristian Eggers <ceggers@arri.de>
Fri, 23 Sep 2022 14:55:54 +0000 (16:55 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit4db18bd233e1bd652c4ff5646d8f8ab5914e552d
tree670671be2ee405820e7328758be5d2e3d31aefb2
parent63fc73f88141ff93e5e562caae2bbfc06216884c
advertising: parse_secondary: fix loop condition

"secondary" isn't an array of pointers, so the iterator can never be
NULL.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/advertising.c