]> 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)
commit0de69c7cfcff8212cac68663744ef5358c187e1e
tree68976461b293d8b77fc8efe4e40456b8903c8d20
parente5d7294ae9a13492257a9ada9f0a8dc9956542bc
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