Bluetooth: make bluetooth 6lowpan as an option
authorAlexander Aring <alex.aring@gmail.com>
Tue, 4 Mar 2014 09:23:02 +0000 (10:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 11 Mar 2014 14:54:55 +0000 (07:54 -0700)
commit97550887973d04e344f5ccee392d7650d01f8f69
treeda75e61a559df920add47dce114d2270c1d2dbb7
parent53ac6ab612456a13bf0f6bad89c1503616e4de3b
Bluetooth: make bluetooth 6lowpan as an option

Currently you can have bluetooth 6lowpan without ipv6 enabled. This
doesn't make any sense. With this patch you can disable/enable bluetooth
6lowpan support at compile time.

The current bluetooth 6lowpan implementation doesn't check the return
value of 6lowpan function. Nevertheless I added -EOPNOTSUPP as return value
if 6lowpan bluetooth is disabled.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.h
net/bluetooth/Kconfig
net/bluetooth/Makefile