NFC: LLCP late binding
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 25 Jun 2012 13:46:28 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:19 +0000 (16:42 -0400)
commit8f50020ed9b81ba909ce9573f9d05263cdebf502
tree19bd36d2e294dd5af9bbf6d885d5d994473a63b0
parentebbb16d9ebbdf08aaf2963b7993d0b4a9e41b15e
NFC: LLCP late binding

With the LLCP 16 local SAPs we can potentially quickly run out of source
SAPs for non well known services.
With the so called late binding we will reserve an SAP only when we actually
get a client connection for a local service. The SAP will be released once
the last client is gone, leaving it available to other services.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c
net/nfc/llcp/llcp.h