git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bluetooth]: Add endian annotations to the core
[pandora-kernel.git]
/
drivers
/
bluetooth
/
bpa10x.c
diff --git
a/drivers/bluetooth/bpa10x.c
b/drivers/bluetooth/bpa10x.c
index
ecbeb7e
..
3947963
100644
(file)
--- 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)