linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hciconfig: Clarify what oobdata command do
@ 2012-09-28 11:58 Szymon Janc
  2012-09-28 13:51 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2012-09-28 11:58 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

oobdata command results in reading new local OOB data and invalidates
previously read data. Current command description is misleading.

---
 tools/hciconfig.8 |    2 +-
 tools/hciconfig.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/hciconfig.8 b/tools/hciconfig.8
index 35956c4..6397427 100644
--- a/tools/hciconfig.8
+++ b/tools/hciconfig.8
@@ -223,7 +223,7 @@ This command deletes the stored link key for
 from the device.
 .TP
 .BI oobdata
-Display local OOB data.
+Get local OOB data (invalidates previously read data).
 .TP
 .BI commands
 Display supported commands.
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index f1458b9..64f2650 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -1924,7 +1924,7 @@ static struct {
 	{ "scomtu",	cmd_scomtu,	"<mtu:pkt>",	"Set SCO MTU and number of packets" },
 	{ "putkey",	cmd_putkey,	"<bdaddr>",	"Store link key on the device" },
 	{ "delkey",	cmd_delkey,	"<bdaddr>",	"Delete link key from the device" },
-	{ "oobdata",	cmd_oob_data,	0,		"Display local OOB data" },
+	{ "oobdata",	cmd_oob_data,	0,		"Get local OOB data" },
 	{ "commands",	cmd_commands,	0,		"Display supported commands" },
 	{ "features",	cmd_features,	0,		"Display device features" },
 	{ "version",	cmd_version,	0,		"Display version information" },
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hciconfig: Clarify what oobdata command do
  2012-09-28 11:58 [PATCH] hciconfig: Clarify what oobdata command do Szymon Janc
@ 2012-09-28 13:51 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-09-28 13:51 UTC (permalink / raw)
  To: Szymon Janc; +Cc: linux-bluetooth

Hi Szymon,

On Fri, Sep 28, 2012, Szymon Janc wrote:
> oobdata command results in reading new local OOB data and invalidates
> previously read data. Current command description is misleading.
> 
> ---
>  tools/hciconfig.8 |    2 +-
>  tools/hciconfig.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-28 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 11:58 [PATCH] hciconfig: Clarify what oobdata command do Szymon Janc
2012-09-28 13:51 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).