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

Bluetooth: 6lowpan: Move netdev sysfs device reference



This patch moves the sysfs device used by the netdev from the device of
the first connected peer to the hci sysfs device. Using the sysfs device
of hci instead of the first connected device fixes this issue such that
the sysfs group of tx-0 and bt0 kobject are still present after the last
peer has been deleted and all sysfs entries can be removed.

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