NFC: NCI: Add passive Listen modes in discover request
authorJulien Lefrique <lefrique@marvell.com>
Tue, 21 Oct 2014 14:52:44 +0000 (16:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Nov 2014 13:07:51 +0000 (14:07 +0100)
commit772dccf4a73bdb51a7628263a42347973a06a295
tree6794a8ced9dc38df0031fb084afc92fc4b21a983
parent413df10bbf09e8ab1e2659126af849b4c9f3a3e3
NFC: NCI: Add passive Listen modes in discover request

The Target mode protocols are given to the nci_start_poll() function
but were previously ignored.
To enable P2P Target, when NFC-DEP is requested as a Target mode protocol, add
NFC-A and NFC-F Passive Listen modes in RF_DISCOVER_CMD command.

Signed-off-by: Julien Lefrique <lefrique@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c