bpa10x.c (6b995751c2e851d2bc9c277b5884d0adb519e31d) bpa10x.c (1ebb92521d0bc2d4ef772730d29333c06b807191)
1/*
2 *
3 * Digianswer Bluetooth USB driver
4 *
5 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>
6 *
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 70 unchanged lines hidden (view full) ---

79 struct urb *tx_urb;
80 struct urb *rx_urb;
81};
82
83#define HCI_VENDOR_HDR_SIZE 5
84
85struct hci_vendor_hdr {
86 __u8 type;
1/*
2 *
3 * Digianswer Bluetooth USB driver
4 *
5 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>
6 *
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 70 unchanged lines hidden (view full) ---

79 struct urb *tx_urb;
80 struct urb *rx_urb;
81};
82
83#define HCI_VENDOR_HDR_SIZE 5
84
85struct hci_vendor_hdr {
86 __u8 type;
87 __u16 snum;
88 __u16 dlen;
87 __le16 snum;
88 __le16 dlen;
89} __attribute__ ((packed));
90
91static void bpa10x_recv_bulk(struct bpa10x_data *data, unsigned char *buf, int count)
92{
93 struct hci_acl_hdr *ah;
94 struct hci_sco_hdr *sh;
95 struct hci_vendor_hdr *vh;
96 struct sk_buff *skb;

--- 560 unchanged lines hidden ---
89} __attribute__ ((packed));
90
91static void bpa10x_recv_bulk(struct bpa10x_data *data, unsigned char *buf, int count)
92{
93 struct hci_acl_hdr *ah;
94 struct hci_sco_hdr *sh;
95 struct hci_vendor_hdr *vh;
96 struct sk_buff *skb;

--- 560 unchanged lines hidden ---