mesh: Helper packet print should depend on debug setting
authorInga Stotland <inga.stotland@intel.com>
Sun, 31 May 2020 04:41:24 +0000 (21:41 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 18 Dec 2020 05:40:30 +0000 (11:10 +0530)
commit21cbe8b5a2e71847d2e2653dfd9330c81d77fcd2
treef29f8715e1f5a8fe8f132d946c191ac6a1627e55
parent0f8c789bbe935e962e67e1332b6031fea89ffba4
mesh: Helper packet print should depend on debug setting

This changes the utility function print_packet() to check if
daemon is running in debug mode.

Change-Id: Ib23f995a3e89297ad239a4a3557bb6b7600b47ed
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/main.c
mesh/util.c
mesh/util.h