summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-06-21 18:44:10 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-21 18:44:10 +0200
commit3635c70249a5ee6f0adb364ab83dde0bedfbffa1 (patch)
tree845985a809de33d162b7c690f50c527dc43d81f9 /include
parent1dde7eaf95839319e3ec12346c196ef2bc4b071f (diff)
downloadneard-3635c70249a5ee6f0adb364ab83dde0bedfbffa1.tar.gz
neard-3635c70249a5ee6f0adb364ab83dde0bedfbffa1.tar.bz2
neard-3635c70249a5ee6f0adb364ab83dde0bedfbffa1.zip
p2p: Bind and listen only on a specific target
Bind and listening are related to a particular adapter, not to a target or device index.
Diffstat (limited to 'include')
-rw-r--r--include/device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/device.h b/include/device.h
index 0aa1950..5785572 100644
--- a/include/device.h
+++ b/include/device.h
@@ -40,8 +40,7 @@ struct near_ndef_message;
struct near_device_driver {
int priority;
- int (*listen)(uint32_t adapter_idx, uint32_t target_idx,
- near_device_io_cb cb);
+ int (*listen)(uint32_t adapter_idx, near_device_io_cb cb);
int (*push)(uint32_t adapter_idx, uint32_t target_idx,
struct near_ndef_message *ndef,
near_device_io_cb cb);