Bluetooth: Unify mode related management messages to a single struct
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 29 Dec 2010 22:38:22 +0000 (00:38 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:05 +0000 (01:40 -0200)
commit72a734ec1aca8cd2ef3fc85428c11bde662e149e
tree7491e7e980f74b3806955ad8ae061c8ac190de79
parent9fbcbb455dd01abfad4f314b618ac51d566114cb
Bluetooth: Unify mode related management messages to a single struct

The powered, connectable and discoverable messages all have the same
format. By using a single struct for all of them a lot of code can be
simplified and reused.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c