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

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

57};
58
59#define HCI_VENDOR_HDR_SIZE 5
60
61struct hci_vendor_hdr {
62 __u8 type;
63 __le16 snum;
64 __le16 dlen;
1/*
2 *
3 * Digianswer Bluetooth USB driver
4 *
5 * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
6 *
7 *
8 * This program is free software; you can redistribute it and/or modify

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

57};
58
59#define HCI_VENDOR_HDR_SIZE 5
60
61struct hci_vendor_hdr {
62 __u8 type;
63 __le16 snum;
64 __le16 dlen;
65} __attribute__ ((packed));
65} __packed;
66
67static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count)
68{
69 struct bpa10x_data *data = hdev->driver_data;
70
71 BT_DBG("%s queue %d buffer %p count %d", hdev->name,
72 queue, buf, count);
73

--- 469 unchanged lines hidden ---
66
67static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count)
68{
69 struct bpa10x_data *data = hdev->driver_data;
70
71 BT_DBG("%s queue %d buffer %p count %d", hdev->name,
72 queue, buf, count);
73

--- 469 unchanged lines hidden ---