]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Set active target upon DEP up event reception
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Aug 2013 12:46:20 +0000 (14:46 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Sep 2013 23:35:41 +0000 (01:35 +0200)
commit5d533619bf417948de8ac74150f8ea1b2f42c502
tree123d29e6ee22d24c36b89387d624733afac3d17d
parent5273b747150e4aa47531dfecb6d34e0dfc1d314b
NFC: Set active target upon DEP up event reception

As we can potentially get DEP up events without having sent a netlink
command, we need to set the active target properly from dep_link_is_up.
Spontaneous DEP up events can come from devices that detected an active
p2p target. In that case there is no need to call the netlink DEP up
command as the link is already up and running.

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