]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Pass command length to LE signaling channel handlers
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 15 May 2013 07:07:15 +0000 (10:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:32 +0000 (07:05 -0800)
commit4a20a60ed6c6a7d2960c6732705d83f451a44147
treea9b9d0eab2ea3106ad6b21b6418984536a42ff1d
parenta86938b8022d93cae87b39f35de88b8bf90b88da
Bluetooth: Pass command length to LE signaling channel handlers

The LE signaling PDU length is already calculated in the
l2cap_le_sig_channel function so we can just pass the value to the
various handler functions to avoid unnecessary recalculations (byte
order conversions). Right now the only user is the connection parameter
update procedure, but as new LE signaling operations become available
(for connection oriented channels) they will also be able to make use of
the value.

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