commit | 1f209383f2be94e15e179da3a4cbcfeabcc2efc2 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Oct 14 21:17:53 2013 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Oct 14 11:26:21 2013 -0700 |
tree | da1624cca46f1ffe5e7821258673d8b333fa7f8e | |
parent | 80c1a2e76dbb36588facb265ab364b1302f7ef8c [diff] |
Bluetooth: Check that bind() bdaddr type matches connect() If a socket was bound to an address type other than BR/EDR (such as LE) we should reject trying to connect it to a BR/EDR address. The same applies for binding to BR/EDR and trying to connect to non-BR/EDR. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>