]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Add eir_len parameter to mgmt_ev_device_found
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Jan 2012 17:51:59 +0000 (19:51 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:27 +0000 (17:01 +0200)
commite319d2e74378660c5e09a1b8703663ba97f0f62a
treeed4b4a2e9e4add922eeac59b7d7e038d5b3e03d0
parentafc747a600ff2e3a4eef8f312fc766608a1360e2
Bluetooth: Add eir_len parameter to mgmt_ev_device_found

This patch add a two byte eir_len parameter mgmt_ev_device_found. Since
it's unlikely that the data will in the short term be much bigger than
conventional EIR lengths just use a small stack based buffer for now to
avoid dynamic memory allocation & freeing.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c