]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor raw socket filter into more readable code
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 26 Aug 2013 06:25:15 +0000 (23:25 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 16 Sep 2013 17:35:54 +0000 (14:35 -0300)
commit8baf3d08a74f8396fdc62512cd4a34c6b2d59406
tree34423d1f59dbe20d27706799ba9ab38fc943d155
parent628122296e32e3ff72e07c8684b4a6f83aa66db7
Bluetooth: Refactor raw socket filter into more readable code

The handling of the raw socket filter is rather obscure code and it gets
in the way of future extensions. Instead of inline filtering in the raw
socket packet routine, refactor it into its own function.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_sock.c