advertising: parse_tx_power: reset value if iter is NULL
authorChristian Eggers <ceggers@arri.de>
Fri, 23 Sep 2022 14:58:11 +0000 (16:58 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commiteac15a04496fe366d1e8e0f2ca6489d7d1d147ec
tree891e61eecce3019f103309d769d799fcb63cfca6
parentea00b5ddf0021d06bc901eb0a08bc1cd75ed6cdc
advertising: parse_tx_power: reset value if iter is NULL

Set property to its default value (as done in all other methods listed
in parsers[]).

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