Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
25d73f23
Commit
25d73f23
authored
Oct 22, 2002
by
Maksim Krasnyanskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluetooth HCI UART driver fixes
- Don't call tx wakeup if uart protocol is not set.
parent
81100c46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_ldisc.c
+2
-1
drivers/bluetooth/hci_uart.h
drivers/bluetooth/hci_uart.h
+1
-1
No files found.
drivers/bluetooth/hci_ldisc.c
View file @
25d73f23
...
...
@@ -344,7 +344,8 @@ static void hci_uart_tty_wakeup(struct tty_struct *tty)
if
(
tty
!=
hu
->
tty
)
return
;
hci_uart_tx_wakeup
(
hu
);
if
(
test_bit
(
HCI_UART_PROTO_SET
,
&
hu
->
flags
))
hci_uart_tx_wakeup
(
hu
);
}
/* hci_uart_tty_room()
...
...
drivers/bluetooth/hci_uart.h
View file @
25d73f23
...
...
@@ -68,7 +68,7 @@ struct hci_uart {
};
/* HCI_UART flag bits */
#define HCI_UART_PROTO_SET 0
x00
#define HCI_UART_PROTO_SET 0
/* TX states */
#define HCI_UART_SENDING 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment