NCI: NCI socket bind implementation

Bind on an NCI physical socket binds the socket to the specified
device, bring it up physically (ops->open()) and set the NCI device
flag to NCI up.
After binding an NCI socket to a device, one can no longer bring it
up through netlink and use the regular NFC netlink APIs on it. The
only access to the device is through the NCI socket.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2 files changed