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
3848734e
Commit
3848734e
authored
Oct 21, 2002
by
Marcel Holtmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge hostme.bitkeeper.com:/ua/repos/l/linux-bt/bt-2.5
into hostme.bitkeeper.com:/ua/repos/l/linux-bt/marcel-2.5
parents
ecf2c214
7d1c8951
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
22 deletions
+20
-22
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bluecard_cs.c
+6
-6
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/bt3c_cs.c
+6
-6
net/bluetooth/bnep/core.c
net/bluetooth/bnep/core.c
+8
-10
No files found.
drivers/bluetooth/bluecard_cs.c
View file @
3848734e
...
...
@@ -456,27 +456,27 @@ static void bluecard_receive(bluecard_info_t *info, unsigned int offset)
if
(
info
->
rx_count
==
0
)
{
int
dlen
;
hci_event_hdr
*
eh
;
hci_acl_hdr
*
ah
;
hci_sco_hdr
*
sh
;
struct
hci_event_hdr
*
eh
;
struct
hci_acl_hdr
*
ah
;
struct
hci_sco_hdr
*
sh
;
switch
(
info
->
rx_state
)
{
case
RECV_WAIT_EVENT_HEADER
:
eh
=
(
hci_event_hdr
*
)(
info
->
rx_skb
->
data
);
eh
=
(
struct
hci_event_hdr
*
)(
info
->
rx_skb
->
data
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
eh
->
plen
;
break
;
case
RECV_WAIT_ACL_HEADER
:
ah
=
(
hci_acl_hdr
*
)(
info
->
rx_skb
->
data
);
ah
=
(
struct
hci_acl_hdr
*
)(
info
->
rx_skb
->
data
);
dlen
=
__le16_to_cpu
(
ah
->
dlen
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
dlen
;
break
;
case
RECV_WAIT_SCO_HEADER
:
sh
=
(
hci_sco_hdr
*
)(
info
->
rx_skb
->
data
);
sh
=
(
struct
hci_sco_hdr
*
)(
info
->
rx_skb
->
data
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
sh
->
dlen
;
break
;
...
...
drivers/bluetooth/bt3c_cs.c
View file @
3848734e
...
...
@@ -318,27 +318,27 @@ static void bt3c_receive(bt3c_info_t *info)
if
(
info
->
rx_count
==
0
)
{
int
dlen
;
hci_event_hdr
*
eh
;
hci_acl_hdr
*
ah
;
hci_sco_hdr
*
sh
;
struct
hci_event_hdr
*
eh
;
struct
hci_acl_hdr
*
ah
;
struct
hci_sco_hdr
*
sh
;
switch
(
info
->
rx_state
)
{
case
RECV_WAIT_EVENT_HEADER
:
eh
=
(
hci_event_hdr
*
)(
info
->
rx_skb
->
data
);
eh
=
(
struct
hci_event_hdr
*
)(
info
->
rx_skb
->
data
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
eh
->
plen
;
break
;
case
RECV_WAIT_ACL_HEADER
:
ah
=
(
hci_acl_hdr
*
)(
info
->
rx_skb
->
data
);
ah
=
(
struct
hci_acl_hdr
*
)(
info
->
rx_skb
->
data
);
dlen
=
__le16_to_cpu
(
ah
->
dlen
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
dlen
;
break
;
case
RECV_WAIT_SCO_HEADER
:
sh
=
(
hci_sco_hdr
*
)(
info
->
rx_skb
->
data
);
sh
=
(
struct
hci_sco_hdr
*
)(
info
->
rx_skb
->
data
);
info
->
rx_state
=
RECV_WAIT_DATA
;
info
->
rx_count
=
sh
->
dlen
;
break
;
...
...
net/bluetooth/bnep/core.c
View file @
3848734e
...
...
@@ -702,16 +702,14 @@ int bnep_get_coninfo(struct bnep_coninfo *ci)
static
int
__init
bnep_init_module
(
void
)
{
BT_INFO
(
"BNEP: BNEP2 ver %s
\n
"
"BNEP: Copyright (C) 2002 Inventel
\n
"
"BNEP: Written 2001,2002 by
\n
"
"BNEP:
\t
Clement Moreau <clement.moreau@inventel.fr> "
"David Libault <david.libault@inventel.fr>
\n
"
"BNEP: Copyright (C) 2002 Maxim Krasnyanskiy <maxk@qualcomm.com>"
,
VERSION
);
bnep_sock_init
();
BT_INFO
(
"Bluetooth BNEP ver %s"
,
VERSION
);
BT_INFO
(
"Copyright (C) 2001,2002 Inventel Systemes"
);
BT_INFO
(
"Written 2001,2002 by Clement Moreau <clement.moreau@inventel.fr>"
);
BT_INFO
(
"Written 2001,2002 by David Libault <david.libault@inventel.fr>"
);
BT_INFO
(
"Copyright (C) 2002 Maxim Krasnyanskiy <maxk@qualcomm.com>"
);
return
0
;
}
...
...
@@ -723,6 +721,6 @@ static void __exit bnep_cleanup_module(void)
module_init
(
bnep_init_module
);
module_exit
(
bnep_cleanup_module
);
MODULE_DESCRIPTION
(
"BNEP ver "
VERSION
);
MODULE_AUTHOR
(
"David Libault <david.libault@inventel.fr> Maxim Krasnyanskiy <maxk@qualcomm.com>"
);
MODULE_DESCRIPTION
(
"B
luetooth B
NEP ver "
VERSION
);
MODULE_AUTHOR
(
"David Libault <david.libault@inventel.fr>
,
Maxim Krasnyanskiy <maxk@qualcomm.com>"
);
MODULE_LICENSE
(
"GPL"
);
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