Search Linux Wireless

RE: [PATCH] NFC: Add Core support to generate tag lost event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric, 

> +static void nfc_check_pres_work(struct work_struct *work)
> +{
> +	struct nfc_dev *dev = container_of(work, struct nfc_dev,
> +					   check_pres_work);
> +	int rc;
> +
> +	device_lock(&dev->dev);
> +
> +	if (dev->activated_target_idx != NFC_TARGET_IDX_NONE &&
> +	    timer_pending(&dev->check_pres_timer) == 0) {
> +		rc = dev->ops->check_presence(dev, 
> dev->activated_target_idx);
> +		if (!rc) {
> +			mod_timer(&dev->check_pres_timer, jiffies +
> +				  
> msecs_to_jiffies(NFC_CHECK_PRES_FREQ_MS));
> +		} else {
> +			nfc_target_lost(dev, dev->activated_target_idx);
I'm unable to find the definition of the function nfc_target_lost.

Thanks & BR,
Ilan
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux