Skip to content

Commit

Permalink
Bluetooth: Fix doing some useless casts when receiving MGMT commands
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinicius Costa Gomes authored and Johan Hedberg committed Feb 13, 2012
1 parent 37305cf commit 650f726
Showing 1 changed file with 83 additions and 122 deletions.
Loading

0 comments on commit 650f726

Please sign in to comment.