summaryrefslogtreecommitdiff
path: root/src/eir.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-03 15:18:20 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-03 22:42:07 +0300
commit9b936c7dd00053cbe0957aa60fe835f24c5b446f (patch)
treecee356f15f7dc7b725d01fe76baeaf20ee2a41b7 /src/eir.c
parent9d8b2330859f377c310a80202059d2c70f8422ac (diff)
downloadbluez-9b936c7dd00053cbe0957aa60fe835f24c5b446f.tar.gz
eir: Rename eir_create to eir_create_oob
With mgmt interface EIR is created by kernel. Renaming this function makes it clear what is a purpose of it in userspace. It also contains support for EIR data types that shall be transmitted only over OOB channel.
Diffstat (limited to 'src/eir.c')
-rw-r--r--src/eir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eir.c b/src/eir.c
index e006a9f6f..f291bc5f1 100644
--- a/src/eir.c
+++ b/src/eir.c
@@ -278,7 +278,7 @@ static void eir_generate_uuid128(GSList *list, uint8_t *ptr, uint16_t *eir_len)
}
}
-void eir_create(const char *name, int8_t tx_power, uint32_t cod,
+void eir_create_oob(const char *name, int8_t tx_power, uint32_t cod,
uint8_t *hash, uint8_t *randomizer,
uint16_t did_vendor, uint16_t did_product,
uint16_t did_version, uint16_t did_source,