diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-04-14 19:03:45 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-04-28 18:47:35 +0300 |
commit | 5261de27f3d5463febf4d7dfa3a7e417ba0d4df5 (patch) | |
tree | da55293761c77c8dabdc9feeaaba0f06bb098b01 | |
parent | 449367e8dab5fadc49f97c72a6837120e889cdc4 (diff) | |
download | bluez-5261de27f3d5463febf4d7dfa3a7e417ba0d4df5.tar.gz |
Set l2cap mode always
As ERTM can be the default mode with SOCK_STREAM we have to set
opts.mode always.
-rw-r--r-- | test/l2test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/l2test.c b/test/l2test.c index 941307069..0bb46f3bc 100644 --- a/test/l2test.c +++ b/test/l2test.c @@ -228,8 +228,7 @@ static int do_connect(char *svr) /* Set new options */ opts.omtu = omtu; opts.imtu = imtu; - if (rfcmode > 0) - opts.mode = rfcmode; + opts.mode = rfcmode; opts.fcs = fcs; opts.txwin_size = txwin_size; |