kernel-hacking-2024-linux-s.../drivers/bluetooth
Harvey Harrison c5ec514016 bluetooth: hci_bcsp.c small cleanups/api users
Use bitrev16 from lib/bitrev.c.

Use the get_unaligned_be16 to get the crc from the packet, create a
small helper function for this.

Fix a shadowed variable sparse warning:
drivers/bluetooth/hci_bcsp.c:218:26: warning: symbol 'hdr' shadows an earlier one
drivers/bluetooth/hci_bcsp.c:187:5: originally declared here

[akpm@linux-foundation.org: select CONFIG_BITREVERSE, noted by akinobu.mita@gmail.com]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-10 12:48:45 -07:00
..
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
btsdio.c
btuart_cs.c
btusb.c
dtl1_cs.c
hci_bcsp.c bluetooth: hci_bcsp.c small cleanups/api users 2008-06-10 12:48:45 -07:00
hci_h4.c
hci_ldisc.c tty: add throttle/unthrottle helpers 2008-04-30 08:29:47 -07:00
hci_ll.c
hci_uart.h
hci_usb.c
hci_usb.h hci_usb.h: fix hard-to-trigger race 2008-05-02 16:45:10 -07:00
hci_vhci.c
Kconfig bluetooth: hci_bcsp.c small cleanups/api users 2008-06-10 12:48:45 -07:00
Makefile