Bluetooth: host: Rename scan recv callback info struct

Rename the scan recv callback info struct so that it reflects that it
is part of the scan recv callback. This will make it consistent with
future plans for advertising callbacks.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2020-02-11 16:59:35 +01:00 committed by Johan Hedberg
commit 08a39851dc
2 changed files with 3 additions and 3 deletions

View file

@ -447,7 +447,7 @@ struct bt_le_scan_param {
};
/** LE advertisement packet information */
struct bt_le_adv_info {
struct bt_le_scan_recv_info {
/** Advertiser LE address and type */
const bt_addr_le_t *addr;
@ -466,7 +466,7 @@ struct bt_le_scan_cb {
* @param info Advertiser packet information.
* @param buf Buffer containing advertiser data.
*/
void (*recv)(const struct bt_le_adv_info *info,
void (*recv)(const struct bt_le_scan_recv_info *info,
struct net_buf_simple *buf);
sys_snode_t node;