NFC: Switch to Initiator mode when getting NFC_ATTR_PROTOCOLS
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 31 May 2012 09:48:58 +0000 (11:48 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 4 Jun 2012 19:34:33 +0000 (21:34 +0200)
commit5e50ee3ae6e465be89dd0a66f78c3211a412d595
tree0aeb30a7c3361199be1f61d222540eae4a553e05
parent56af2568c27ee697a5a34cf037e3253e7b77e80b
NFC: Switch to Initiator mode when getting NFC_ATTR_PROTOCOLS

That is needed for keeping backward compatibility with apps using the old
netlink polling API (NFC_ATTR_PROTOCOLS instead of NFC_ATTR_IM_PROTOCOLS).

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/netlink.c