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)
commit679efe2b4fcbe575bc4c94c410039e35c169bfb6
tree7a7f022a3f62e38398cd2cedca276e1701aeeb5b
parent44b20d33962a73ca14b934540e9168e0da1b49ab
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