diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-11-08 18:57:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-08 18:57:21 +0100 |
commit | 1ebb92521d0bc2d4ef772730d29333c06b807191 (patch) | |
tree | d480ca68fd4c7f1185e189942feef8d85edbb659 /drivers/bluetooth/bpa10x.c | |
parent | [Bluetooth]: Add another ignore parameter to the HCI USB driver (diff) | |
download | linux-1ebb92521d0bc2d4ef772730d29333c06b807191.tar.xz linux-1ebb92521d0bc2d4ef772730d29333c06b807191.zip |
[Bluetooth]: Add endian annotations to the core
This patch adds the endian annotations to the Bluetooth core.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
-rw-r--r-- | drivers/bluetooth/bpa10x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c index ecbeb7eaba8e..394796315adc 100644 --- a/drivers/bluetooth/bpa10x.c +++ b/drivers/bluetooth/bpa10x.c @@ -84,8 +84,8 @@ struct bpa10x_data { struct hci_vendor_hdr { __u8 type; - __u16 snum; - __u16 dlen; + __le16 snum; + __le16 dlen; } __attribute__ ((packed)); static void bpa10x_recv_bulk(struct bpa10x_data *data, unsigned char *buf, int count) |