Commit 5a0f7e44 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

Bluetooth: Mesh: Fix typo leading to incorrect settings storage



This was intended to be an equality comparison and not an assignment.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent da38403f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1030,7 +1030,7 @@ static void store_pending_hb_pub(void)
	if (pub->dst == BT_MESH_ADDR_UNASSIGNED) {
		str = NULL;
	} else {
		val.indefinite = (pub->count = 0xffff);
		val.indefinite = (pub->count == 0xffff);
		val.dst = pub->dst;
		val.period = pub->period;
		val.ttl = pub->ttl;