diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-01-08 16:11:15 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 10:01:25 -0500 |
commit | a8b2d5c2cfe1c6398e3fdd4372c4ae7f74fb4493 (patch) | |
tree | 5e732f5143512a52eb7a343c143c1eaeb565c8f7 /net/bluetooth/smp.c | |
parent | cbe8fed490601862310f035b9973509b8634998e (diff) |
Bluetooth: Move mgmt related flags from hdev->flags to hdev->dev_flags
There's no point in exposing these to user-space (which is what happens
to everything in hdev->flags) so move them to dev_flags instead.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.c')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 32c47de30344..65a90242d990 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -217,7 +217,7 @@ static void build_pairing_cmd(struct l2cap_conn *conn, | |||
217 | { | 217 | { |
218 | u8 dist_keys = 0; | 218 | u8 dist_keys = 0; |
219 | 219 | ||
220 | if (test_bit(HCI_PAIRABLE, &conn->hcon->hdev->flags)) { | 220 | if (test_bit(HCI_PAIRABLE, &conn->hcon->hdev->dev_flags)) { |
221 | dist_keys = SMP_DIST_ENC_KEY; | 221 | dist_keys = SMP_DIST_ENC_KEY; |
222 | authreq |= SMP_AUTH_BONDING; | 222 | authreq |= SMP_AUTH_BONDING; |
223 | } else { | 223 | } else { |