commit | 40bef302f6323d1ee6fb3dc0e62edb0f446d0339 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jul 16 11:42:27 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 16 11:04:23 2014 +0200 |
tree | 2b77646a8adf90560b66e7f72df64ab4cc76240e | |
parent | ba165a90b59812ab1d9cd2943fd104cfc25c601e [diff] |
Bluetooth: Convert HCI_CONN_MASTER flag to a conn->role variable Having a dedicated u8 role variable in the hci_conn struct greatly simplifies tracking of the role, since this is the native way that it's represented on the HCI level. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>