summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-18 18:29:40 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-18 18:29:40 +0000
commit3dec6f11d625a351bae0aada4160f3d2de429cdd (patch)
treed77a073813bf7f34fc18dcaea812f94cd46d41e1 /hcid/device.c
parent58887f9452b222cfb28bf8c5c11d13bd5de95efb (diff)
Fixed SetMode when the adapter is DOWN
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/device.c b/hcid/device.c
index a9ea8fc6..5c3518dd 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -432,7 +432,7 @@ int set_device_name(uint16_t dev_id, const char *name)
}
if (hci_write_local_name(dd, name, 5000) < 0) {
- error("Can't read name for hci%d: %s (%d)",
+ error("Can't write name for hci%d: %s (%d)",
dev_id, strerror(errno), errno);
return -errno;
}