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)
commitf81fe64f3d3bc76c1a8d3edb80b54219a60ff291
tree34423d1f59dbe20d27706799ba9ab38fc943d155
parentf21278108204ab244cd534a0d45c174ecc559267
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