summaryrefslogtreecommitdiffstats
path: root/scripts/bluetooth_serial
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bluetooth_serial')
-rw-r--r--scripts/bluetooth_serial13
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/bluetooth_serial b/scripts/bluetooth_serial
index 6461e78d..e5be6c2e 100644
--- a/scripts/bluetooth_serial
+++ b/scripts/bluetooth_serial
@@ -12,16 +12,11 @@ start_serial()
return 1
fi
- IRQ=`/bin/setserial $DEVNAME | sed -e 's/.*IRQ: //'`
- /bin/setserial $DEVNAME irq 0 ; /bin/setserial $DEVNAME irq $IRQ
-
- MANF_CARD_ID="${MANF_ID},${CARD_ID}"
- # I don't have a generic solution, sorry
- if [ $MANF_CARD_ID = "0x0160,0x0002" ]; then
- /usr/sbin/hciattach $DEVNAME $MANF_CARD_ID 115200
- else
- /usr/sbin/hciattach $DEVNAME $MANF_CARD_ID
+ if [ "$BAUDBASE" != "" ]; then
+ /bin/setserial $DEVNAME baud_base $BAUDBASE
fi
+
+ /usr/sbin/hciattach $DEVNAME $HCIOPTS 2>&1 | logger -t hciattach
}
stop_serial()