NFC: netlink: Add mode parameter to deactivate_target functions
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:43 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 02:55:12 +0000 (03:55 +0100)
commit96d4581f0b3712221d6ed4a765bb6b4ea40f2b2f
tree1d07dd46daa8b0b1c2aa0e3d3c7c4f9cd47b7fbe
parentcde2aa99ba702ab8efa583495e54731b9f854e66
NFC: netlink: Add mode parameter to deactivate_target functions

In order to manage in a better way the nci poll mode state machine,
add mode parameter to deactivate_target functions.
This way we can manage different target state.
mode parameter make sense only in nci core.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcsim.c
drivers/nfc/pn533.c
include/net/nfc/nfc.h
net/nfc/core.c
net/nfc/digital_core.c
net/nfc/hci/core.c
net/nfc/nci/core.c
net/nfc/netlink.c
net/nfc/nfc.h
net/nfc/rawsock.c