Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144059373
D44861.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D44861.diff
View Options
diff --git a/libexec/rc/rc.d/bluetooth b/libexec/rc/rc.d/bluetooth
--- a/libexec/rc/rc.d/bluetooth
+++ b/libexec/rc/rc.d/bluetooth
@@ -127,8 +127,17 @@
> /dev/null 2>&1 || return 1
# Initilalize HCI node
- ${hccontrol} -n ${dev}hci reset \
- > /dev/null 2>&1 || return 1
+ for loop in 1 2 3
+ do
+ ${hccontrol} -n ${dev}hci reset \
+ > /dev/null 2>1 && break
+ if [ ${loop} -eq 3 ]
+ then
+ warn Reset failed three times, giving up.
+ return 1
+ fi
+ warn Reset failed, retrying.
+ done
${hccontrol} -n ${dev}hci read_bd_addr \
> /dev/null 2>&1 || return 1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 5, 2:05 AM (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28439420
Default Alt Text
D44861.diff (584 B)
Attached To
Mode
D44861: Initial cut at Intel AX210 bluetooth support
Attached
Detach File
Event Timeline
Log In to Comment