diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-24 08:39:08 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-03-24 10:51:56 -0400 |
commit | 1d98bf4fda5f76563a9718b59e3ac5a65fd36a51 (patch) | |
tree | fc84e48acc495272784db91caad1dd5743eedcbe /net/bluetooth/smp.h | |
parent | a82505c7bcbc1f8cce28d092aba01f62c7b85fa3 (diff) |
Bluetooth: Remove LTK re-encryption procedure
Due to several devices being unable to handle this procedure reliably
(resulting in forced disconnections before pairing completes) it's
better to remove it altogether.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r-- | net/bluetooth/smp.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h index 0d536b8b3f9a..1277147a9150 100644 --- a/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h | |||
@@ -118,11 +118,8 @@ struct smp_cmd_security_req { | |||
118 | #define SMP_FLAG_TK_VALID 1 | 118 | #define SMP_FLAG_TK_VALID 1 |
119 | #define SMP_FLAG_CFM_PENDING 2 | 119 | #define SMP_FLAG_CFM_PENDING 2 |
120 | #define SMP_FLAG_MITM_AUTH 3 | 120 | #define SMP_FLAG_MITM_AUTH 3 |
121 | #define SMP_FLAG_LTK_ENCRYPT 4 | 121 | #define SMP_FLAG_COMPLETE 4 |
122 | #define SMP_FLAG_COMPLETE 5 | 122 | #define SMP_FLAG_INITIATOR 5 |
123 | #define SMP_FLAG_INITIATOR 6 | ||
124 | |||
125 | #define SMP_REENCRYPT_TIMEOUT msecs_to_jiffies(500) | ||
126 | 123 | ||
127 | struct smp_chan { | 124 | struct smp_chan { |
128 | struct l2cap_conn *conn; | 125 | struct l2cap_conn *conn; |
@@ -145,7 +142,6 @@ struct smp_chan { | |||
145 | unsigned long smp_flags; | 142 | unsigned long smp_flags; |
146 | struct work_struct confirm; | 143 | struct work_struct confirm; |
147 | struct work_struct random; | 144 | struct work_struct random; |
148 | struct delayed_work reencrypt; | ||
149 | }; | 145 | }; |
150 | 146 | ||
151 | /* SMP Commands */ | 147 | /* SMP Commands */ |