]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Fix hci_connect_gate() when a pre-opened pipe is passed
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Wed, 17 Oct 2012 14:47:13 +0000 (16:47 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Nov 2012 22:56:58 +0000 (23:56 +0100)
commit7b84c66c7eab20b8ce6a08a928a8148784fb1277
tree68976461b293d8b77fc8efe4e40456b8903c8d20
parentcfd37129cde91dde862ec1587b8ec4402753ef4a
NFC: Fix hci_connect_gate() when a pre-opened pipe is passed

In some cases, pre-opened pipes don't stay open when a clear all pipes
command is sent. They stay created however. Therefore, one can never
assume that such a pipe is already open. As re-opening a pipe seems not
to be a problem, we do that now.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/command.c