commit | 650f726d16a3f25153d785b531516f6e90d2014f | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | Thu Feb 02 21:07:59 2012 -0300 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Mon Feb 13 17:01:32 2012 +0200 |
tree | 606cc339e2b3f8f2633ed1503b73dc53212f780c | |
parent | 37305cf649689a4d2341dd6fd89b091c6007f9ba [diff] |
Bluetooth: Fix doing some useless casts when receiving MGMT commands Every command handler of mgmt does a cast to the command structure so it can properly interpreted. So we can avoid that cast if we make those functions receive a void * directly. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>