Commit: ab1dbca212d64943dfca2af7ad543ea116d30e4c
Parent: 2aec81f1fadf66773a8bf75632b817207469d8df
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-12-29 09:51:50
Tree: 9e50b7bd3a27a7299b83ebb4b4240a748760ee98

tools/btmgmt: Don't use hci_set_bit for discovery type Using hci_set_bit() on the 1-byte discovery type value produces the wrong results at least on 64-bit ppc. This patch fixes btmgmt to use the same style of manual bit setting as bluetoothd uses.

Diffstat

M tools/btmgmt.c | 36 ++++++++++++++++++- - - - - - - - - - - - - - - - - -

1 files changed, 18 insertions(+), 18 deletions(-)

View Full Diff | Patch