aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-01-04 07:16:21 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 10:01:20 -0500
commit30883512be0839349d29c7b0bc31016e0498cf8c (patch)
treee8d34819c884ed81f0bba1ad4f337c47fd15efae /net/bluetooth/mgmt.c
parent4663262c294c71aa1139616ae7f24dd345a69c15 (diff)
Bluetooth: Rename hdev->inq_cache to hdev->discovery
This struct is used for not just inquiry caching but also for general device discovery state tracking so it's better to rename it to something more appropriate. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 39775119585a..894f11bc571d 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -2000,7 +2000,7 @@ static int confirm_name(struct sock *sk, u16 index, unsigned char *data,
2000 list_del(&e->list); 2000 list_del(&e->list);
2001 } else { 2001 } else {
2002 e->name_state = NAME_NEEDED; 2002 e->name_state = NAME_NEEDED;
2003 list_move(&e->list, &hdev->inq_cache.resolve); 2003 list_move(&e->list, &hdev->discovery.resolve);
2004 } 2004 }
2005 2005
2006 err = 0; 2006 err = 0;