Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
10c38c33
Commit
10c38c33
authored
14 years ago
by
John W. Linville
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6
parents
6942fec9
d9319560
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/bluetooth/hci_ldisc.c
+4
-2
4 additions, 2 deletions
drivers/bluetooth/hci_ldisc.c
net/bluetooth/rfcomm/core.c
+1
-0
1 addition, 0 deletions
net/bluetooth/rfcomm/core.c
with
5 additions
and
2 deletions
drivers/bluetooth/hci_ldisc.c
+
4
−
2
View file @
10c38c33
...
@@ -311,8 +311,10 @@ static void hci_uart_tty_close(struct tty_struct *tty)
...
@@ -311,8 +311,10 @@ static void hci_uart_tty_close(struct tty_struct *tty)
if
(
test_and_clear_bit
(
HCI_UART_PROTO_SET
,
&
hu
->
flags
))
{
if
(
test_and_clear_bit
(
HCI_UART_PROTO_SET
,
&
hu
->
flags
))
{
hu
->
proto
->
close
(
hu
);
hu
->
proto
->
close
(
hu
);
hci_unregister_dev
(
hdev
);
if
(
hdev
)
{
hci_free_dev
(
hdev
);
hci_unregister_dev
(
hdev
);
hci_free_dev
(
hdev
);
}
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
net/bluetooth/rfcomm/core.c
+
1
−
0
View file @
10c38c33
...
@@ -311,6 +311,7 @@ static void rfcomm_dlc_clear_state(struct rfcomm_dlc *d)
...
@@ -311,6 +311,7 @@ static void rfcomm_dlc_clear_state(struct rfcomm_dlc *d)
d
->
state
=
BT_OPEN
;
d
->
state
=
BT_OPEN
;
d
->
flags
=
0
;
d
->
flags
=
0
;
d
->
mscex
=
0
;
d
->
mscex
=
0
;
d
->
sec_level
=
BT_SECURITY_LOW
;
d
->
mtu
=
RFCOMM_DEFAULT_MTU
;
d
->
mtu
=
RFCOMM_DEFAULT_MTU
;
d
->
v24_sig
=
RFCOMM_V24_RTC
|
RFCOMM_V24_RTR
|
RFCOMM_V24_DV
;
d
->
v24_sig
=
RFCOMM_V24_RTC
|
RFCOMM_V24_RTR
|
RFCOMM_V24_DV
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment