linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] use a valid PSM value in l2test.
@ 2011-02-09 18:26 Gustavo F. Padovan
  2011-02-09 18:28 ` Gustavo F. Padovan
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo F. Padovan @ 2011-02-09 18:26 UTC (permalink / raw)
  To: linux-bluetooth

---
 test/l2test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/l2test.c b/test/l2test.c
index 17883a9..00d31dc 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -87,7 +87,7 @@ static long buffer_size = 2048;
 
 /* Default addr and psm and cid */
 static bdaddr_t bdaddr;
-static unsigned short psm = 10;
+static unsigned short psm = 1011;
 static unsigned short cid = 0;
 
 /* Default number of frames to send (-1 = infinite) */
-- 
1.7.4


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

* Re: [PATCH] use a valid PSM value in l2test.
  2011-02-09 18:26 [PATCH] use a valid PSM value in l2test Gustavo F. Padovan
@ 2011-02-09 18:28 ` Gustavo F. Padovan
  0 siblings, 0 replies; 4+ messages in thread
From: Gustavo F. Padovan @ 2011-02-09 18:28 UTC (permalink / raw)
  To: linux-bluetooth

* Gustavo F. Padovan <padovan@profusion.mobi> [2011-02-09 16:26:37 -0200]:

> ---
>  test/l2test.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Gah, this is wrong. L2CAP doesn't accept this value


-- 
Gustavo F. Padovan
http://profusion.mobi

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

* [PATCH] use a valid PSM value in l2test.
@ 2011-02-09 18:42 Gustavo F. Padovan
  2011-02-09 22:04 ` Johan Hedberg
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo F. Padovan @ 2011-02-09 18:42 UTC (permalink / raw)
  To: linux-bluetooth

---
 test/l2test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/l2test.c b/test/l2test.c
index 17883a9..3ac332f 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -87,7 +87,7 @@ static long buffer_size = 2048;
 
 /* Default addr and psm and cid */
 static bdaddr_t bdaddr;
-static unsigned short psm = 10;
+static unsigned short psm = 0x1011;
 static unsigned short cid = 0;
 
 /* Default number of frames to send (-1 = infinite) */
-- 
1.7.4


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

* Re: [PATCH] use a valid PSM value in l2test.
  2011-02-09 18:42 Gustavo F. Padovan
@ 2011-02-09 22:04 ` Johan Hedberg
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Hedberg @ 2011-02-09 22:04 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

Hi Gustavo,

On Wed, Feb 09, 2011, Gustavo F. Padovan wrote:
> ---
>  test/l2test.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/test/l2test.c b/test/l2test.c
> index 17883a9..3ac332f 100644
> --- a/test/l2test.c
> +++ b/test/l2test.c
> @@ -87,7 +87,7 @@ static long buffer_size = 2048;
>  
>  /* Default addr and psm and cid */
>  static bdaddr_t bdaddr;
> -static unsigned short psm = 10;
> +static unsigned short psm = 0x1011;
>  static unsigned short cid = 0;
>  
>  /* Default number of frames to send (-1 = infinite) */

Pushed upstream. Thanks.

Johan

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

end of thread, other threads:[~2011-02-09 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09 18:26 [PATCH] use a valid PSM value in l2test Gustavo F. Padovan
2011-02-09 18:28 ` Gustavo F. Padovan
  -- strict thread matches above, loose matches on Subject: below --
2011-02-09 18:42 Gustavo F. Padovan
2011-02-09 22:04 ` 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).