commit | 9d939d948469b49912a76e789f7d4059eb1f8bc7 | [log] [tgz] |
---|---|---|
author | Vishal Agarwal <vishal.agarwal@stericsson.com> | Thu Apr 26 19:19:56 2012 +0530 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Wed May 16 16:13:19 2012 -0300 |
tree | ab3a2255a084909fb69086abb26dbf0ecb5b783e | |
parent | a24299e6c82f624cd2c717c91f04f1d79113ada8 [diff] |
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>