Skip to contentSkip to conversation

Bluetooth: Revert SMP self-test patches

PATCH In review [email protected] 2 participants 2 messages Oct 28, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: Revert SMP self-test patches

From: Johan Hedberg <[email protected]>

This reverts commits c6992e9ef2a17e9738b7bb8a03a7fe581a8f9977 and 4cd3362da899a59955146851dd860198b0aaaa75.

The reason for the revert is that we cannot have more than one module initialization function and the SMP one breaks the build with modular kernels. As the proper fix for this is right now looking non-trivial it's better to simply revert the problematic patches in order to keep the upstream tree compilable.

---
 net/bluetooth/Kconfig |   6 ---
 net/bluetooth/smp.c   | 120 --------------------------------------------------
 2 files changed, 126 deletions(-)
net/bluetooth/Kconfig +0 -6
index 2675b4106b00..600fb29288f4 100644
@@ -45,12 +45,6 @@ config BT_6LOWPAN
 	help
 	  IPv6 compression over Bluetooth Low Energy.
 
-config BT_SELFTEST
-	bool "Run self-tests on boot"
-	depends on BT && DEBUG_KERNEL
-	help
-	  Run self-tests during boot. Currently limited to SMP.
-
 source "net/bluetooth/rfcomm/Kconfig"
 
 source "net/bluetooth/bnep/Kconfig"
net/bluetooth/smp.c +0 -120

123 lines not on this page · raw message

Signature · 1 line
1.9.3
maintainer
#1 lore raw

Hi Johan,

Quoted 9 lines

This reverts commits c6992e9ef2a17e9738b7bb8a03a7fe581a8f9977 and 4cd3362da899a59955146851dd860198b0aaaa75.

The reason for the revert is that we cannot have more than one module initialization function and the SMP one breaks the build with modular kernels. As the proper fix for this is right now looking non-trivial it's better to simply revert the problematic patches in order to keep the upstream tree compilable.

Quoted 5 lines

---
net/bluetooth/Kconfig | 6 ---
net/bluetooth/smp.c | 120 --------------------------------------------------

2 files changed, 126 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel