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
Kirill Smelkov
linux
Commits
3e6b3b95
Commit
3e6b3b95
authored
Nov 01, 2011
by
Gustavo F. Padovan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluetooth: small styles clean ups to l2cap_core.c
Signed-off-by:
Gustavo F. Padovan
<
padovan@profusion.mobi
>
parent
0e8b207e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_core.c
+6
-7
No files found.
net/bluetooth/l2cap_core.c
View file @
3e6b3b95
...
@@ -2240,8 +2240,7 @@ static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data)
...
@@ -2240,8 +2240,7 @@ static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data)
sizeof
(
efs
),
sizeof
(
efs
),
(
unsigned
long
)
&
efs
);
(
unsigned
long
)
&
efs
);
}
else
{
}
else
{
/* Send PENDING Conf Rsp and mark state
/* Send PENDING Conf Rsp */
local PENDING */
result
=
L2CAP_CONF_PENDING
;
result
=
L2CAP_CONF_PENDING
;
set_bit
(
CONF_LOC_CONF_PEND
,
&
chan
->
conf_state
);
set_bit
(
CONF_LOC_CONF_PEND
,
&
chan
->
conf_state
);
}
}
...
@@ -2373,8 +2372,8 @@ static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, voi
...
@@ -2373,8 +2372,8 @@ static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, voi
case
L2CAP_CONF_EWS
:
case
L2CAP_CONF_EWS
:
chan
->
tx_win
=
min_t
(
u16
,
val
,
chan
->
tx_win
=
min_t
(
u16
,
val
,
L2CAP_DEFAULT_EXT_WINDOW
);
L2CAP_DEFAULT_EXT_WINDOW
);
l2cap_add_conf_opt
(
&
ptr
,
L2CAP_CONF_EWS
,
l2cap_add_conf_opt
(
&
ptr
,
L2CAP_CONF_EWS
,
2
,
2
,
chan
->
tx_win
);
chan
->
tx_win
);
break
;
break
;
}
}
}
}
...
...
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