Commit: 85512df86d86f578fa1429415e37914c698ec12d
Parent: 364018d24350d8275fdf463b70ff367c9555fdc3
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-11-29 10:32:00
Tree: 75760b54ac1731f34452d90cf853a237670ec3aa

android/hal-bluetooth: Fix sending invalid adapter property If property to be set is of enum type it should be first converted to byte value as size of enum might varry depending on architecture. To keep code simple command buffer uses len received from framework as this is more or equal to HAL property size.

Diffstat

M android/hal-bluetooth.c | 36 +++++++++++++++++++++++++++++++- - - - -

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

View Full Diff | Patch