Bluetooth: Ignore A2MP data on non-BR/EDR links
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 08:37:00 +0000 (11:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 08:41:13 +0000 (01:41 -0700)
commit07e307f807fecf056f0f9024ade4c0187159c46b
tree138640e20d3f1ed494e2c43efac87a0a06afb3bb
parenta521149a0df24cc250aa1173a9964dd8a728d772
Bluetooth: Ignore A2MP data on non-BR/EDR links

The A2MP CID is only valid for BR/EDR transports. We should ignore A2MP
data on non-BR/EDR links and refuse to create an amp_mgr object.

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