Skip to contentSkip to conversation

CONFIG_BT_CMTP is not checked in compat-wireless

DISCUSSION Applied Ozan Çağlayan 2 participants 2 messages Jan 12, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

CONFIG_BT_CMTP depends on BT && BT_L2CAP && ISDN_CAPI but in config.mk there isn't an explicit check for those conditions. On a ISDN_CAPI disabled kernel this causes unresolved symbols as cmtp.ko is built

Something like below fixes the problem (at least for CMTP case) by not compiling net/bluetooth/cmtp:

# CONFIG_BT_CMTP depends on ISDN_CAPI
ifneq ($(CONFIG_BT_CMTP),)
CONFIG_BT_CMTP=m
endif

Regards,
Ozan Caglayan

#1 lore raw
Quoted 11 lines · Ozan Çağlayan

Hi,

CONFIG_BT_CMTP depends on BT && BT_L2CAP && ISDN_CAPI but in config.mk there isn't an explicit check for those conditions. On a ISDN_CAPI disabled kernel this causes unresolved symbols as cmtp.ko is built

Something like below fixes the problem (at least for CMTP case) by not compiling net/bluetooth/cmtp:

# CONFIG_BT_CMTP depends on ISDN_CAPI
ifneq ($(CONFIG_BT_CMTP),)
CONFIG_BT_CMTP=m
endif

I applied this change, thanks for the report.

Luis