Skip to content
Commit a2105ae1 authored by Glenn Ruben Bakke's avatar Glenn Ruben Bakke Committed by Marcel Holtmann
Browse files

Bluetooth: 6lowpan: Enable delete_netdev to be scheduled when last peer is deleted



This patch fixes an issue with the netdev not being unregistered when
the last peer is deleted. Removing the logical negation operator on the
boolean solves this issue. If the last peer is removed the condition
will be true, and the delete_netdev() is scheduled.

Signed-off-by: default avatarLukasz Duda <lukasz.duda@nordicsemi.no>
Signed-off-by: default avatarGlenn Ruben Bakke <glenn.ruben.bakke@nordicsemi.no>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 40db5f0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment