From: Vishal Agarwal Date: Thu, 26 Apr 2012 13:49:56 +0000 (+0530) Subject: Bluetooth: Fix EIR data generation for mgmt_device_found X-Git-Tag: v3.5-rc1~101^2~6^2^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d939d948469b49912a76e789f7d4059eb1f8bc7;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed