commit | f15504788d7b1613ef2ef0a673cfe250c16a6b0d | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Oct 24 21:12:03 2012 +0300 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Thu Nov 01 20:26:58 2012 -0200 |
tree | 3eb8d4ba792ad9417ac3469db0519240a004e002 | |
parent | 33f8f5269ea7c220e18a15959dad2b42e1b61051 [diff] |
Bluetooth: Disallow LE scanning and connecting in peripheral role When an adapter is in the LE peripheral role scanning for other devices or initiating connections to them is not allowed. This patch makes sure that such attempts will result in appropriate error returns. 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>