Bluetooth: Fix BR/EDR-only address checks for remote OOB data
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 17 Nov 2014 18:52:19 +0000 (20:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Nov 2014 00:53:15 +0000 (01:53 +0100)
commitc19a495c8bccc15acd299f26d72b5d51eb3acb1d
tree8d730eb6198e2a68e5283f4476aca677c3025293
parentee7b9053bd69ff43cbc87a9bb987f4d92dc2c29f
Bluetooth: Fix BR/EDR-only address checks for remote OOB data

For now the mgmt commands dealing with remote OOB data are strictly
BR/EDR-only. This patch fixes missing checks for the passed address type
so that any non-BR/EDR value triggers the appropriate error response.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c