Commit: 47a07dd39d4ee2d14cf2e6b9a5a7ee8c2525aa67
Parent: 721c1779e715a3ef33001c1563a6006e99dae09d
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-12 20:21:19
Tree: aeec0d7002752c079a7eb0aa7e796b6aa297092a

emulator: Fix condition check in btdev_create() This fixes a case where logical '||' was used with constant operand and the condition check always resulted in true. Was: if (type == BTDEV_TYPE_BREDRLE || type == BTDEV_TYPE_LE || BTDEV_TYPE_BREDRLE50) Fixed: if (type == BTDEV_TYPE_BREDRLE || type == BTDEV_TYPE_LE || type == BTDEV_TYPE_BREDRLE50)

Diffstat

M emulator/btdev.c | 2 +-

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

View Full Diff | Patch