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

Bluetooth: 6lowpan: Fix double kfree of netdev priv



This patch removes the kfree of the netdev priv in device_event() upon
NETDEV_UNREGISTER event. The freeing of memory is taken care of by the
netdev destructor.

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 fc84242f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment