OSDN Git Service

tools/l2test: Fix setopts and getopts functions
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Mon, 16 Jun 2014 22:29:57 +0000 (00:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Jun 2014 09:15:07 +0000 (12:15 +0300)
commitaa95d467b85f49a58d00c41e533bae1dd58a3403
tree2e0f0e86de4567470035815c46e740c3c798bb02
parent817e68471fc5cb9b9bbbfc9920ae2e7d2f4274da
tools/l2test: Fix setopts and getopts functions

Level SOL_L2CAP with optname L2CAP_OPTIONS is supported only for BR/EDR
Since bdaddr_type is set to BDADDR_BREDR by default, there is no sense
to check also CID.

This fix le connect which now fails when trying to connect ATT CID on LE
transport.
tools/l2test.c