commit | 70c464256310e1c3716099b9d02ece4169272f73 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jul 09 12:59:17 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 09 12:25:27 2014 +0200 |
tree | 8254be9723dbb069038996ca387995739d64da7f | |
parent | dee58c1ed5e29eb57fa9358a8ff27848b72f3b7d [diff] |
Bluetooth: Refactor connection request handling The conditions for accepting an incoming connections are already non-trivial and will become more so once a white list is added. This patch breaks up the checks for when to reject the request by creating a helper function for it. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>