]> 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)
commit547c03592329e5eb05dd7b9d69ae0c52da92aac2
tree34423d1f59dbe20d27706799ba9ab38fc943d155
parentd74ba4c0063cae9dab536d34c7f3382638a84d75
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