Bluetooth: Fix EIR data generation for mgmt_device_found
authorVishal Agarwal <vishal.agarwal@stericsson.com>
Thu, 26 Apr 2012 13:49:56 +0000 (19:19 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 16 May 2012 19:13:19 +0000 (16:13 -0300)
commit9d939d948469b49912a76e789f7d4059eb1f8bc7
treeab3a2255a084909fb69086abb26dbf0ecb5b783e
parenta24299e6c82f624cd2c717c91f04f1d79113ada8
Bluetooth: Fix EIR data generation for mgmt_device_found

The mgmt_device_found function expects to receive only the significant
part of the EIR data so it needs to be removed before calling the
function. This patch adds a new eir_get_length() helper function to
calculate the length of the significant part.

Signed-off-by: Vishal Agarwal <vishal.agarwal@stericsson.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
This page took 0.044764 seconds and 5 git commands to generate.