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
7a8167b2
Commit
7a8167b2
authored
May 01, 2003
by
Marcel Holtmann
Committed by
Marcel Holtmann
May 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bluetooth] Compile fix for URB_ZERO_PACKET
This patch fixes the compile problem with URB_ZERO_PACKET.
parent
a04eefa1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/bluetooth/hci_usb.c
drivers/bluetooth/hci_usb.c
+3
-3
No files found.
drivers/bluetooth/hci_usb.c
View file @
7a8167b2
...
...
@@ -64,8 +64,8 @@
#endif
#ifndef CONFIG_BT_USB_ZERO_PACKET
#undef U
S
B_ZERO_PACKET
#define U
S
B_ZERO_PACKET 0
#undef U
R
B_ZERO_PACKET
#define U
R
B_ZERO_PACKET 0
#endif
static
struct
usb_driver
hci_usb_driver
;
...
...
@@ -458,7 +458,7 @@ static inline int hci_usb_send_bulk(struct hci_usb *husb, struct sk_buff *skb)
pipe
=
usb_sndbulkpipe
(
husb
->
udev
,
husb
->
bulk_out_ep
->
desc
.
bEndpointAddress
);
usb_fill_bulk_urb
(
urb
,
husb
->
udev
,
pipe
,
skb
->
data
,
skb
->
len
,
hci_usb_tx_complete
,
husb
);
urb
->
transfer_flags
=
U
S
B_ZERO_PACKET
;
urb
->
transfer_flags
=
U
R
B_ZERO_PACKET
;
BT_DBG
(
"%s skb %p len %d"
,
husb
->
hdev
.
name
,
skb
,
skb
->
len
);
...
...
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