]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add helper functions for testing bdaddr types
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Jan 2013 12:27:18 +0000 (14:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 03:58:08 +0000 (01:58 -0200)
commitd71029fda295f4c01c9bdf961362684c0188cfc1
tree7a7f022a3f62e38398cd2cedca276e1701aeeb5b
parent2fc52e39191ec3fe421b4891a0d0746bc96287af
Bluetooth: Add helper functions for testing bdaddr types

This patch adds two helper functions to test for valid bdaddr type
values. These will be particularely useful in the mgmt code to check
that user space has passed valid values to the kernel.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/bluetooth.h