Commit 532f8bc
committed
Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
This reverts commit 59b047b which
breaks compatibility with commands like:
bluetoothd[46328]: @ MGMT Command: Load.. (0x0013) plen 74 {0x0001} [hci0]
Keys: 2
BR/EDR Address: C0:DC:DA:A5:E5:47 (Samsung Electronics Co.,Ltd)
Key type: Authenticated key from P-256 (0x03)
Central: 0x00
Encryption size: 16
Diversifier[2]: 0000
Randomizer[8]: 0000000000000000
Key[16]: 6ed96089bd9765be2f2c971b0b95f624
LE Address: D7:2A:DE:1E:73:A2 (Static)
Key type: Unauthenticated key from P-256 (0x02)
Central: 0x00
Encryption size: 16
Diversifier[2]: 0000
Randomizer[8]: 0000000000000000
Key[16]: 87dd2546ededda380ffcdc0a8faa4597
@ MGMT Event: Command Status (0x0002) plen 3 {0x0001} [hci0]
Load Long Term Keys (0x0013)
Status: Invalid Parameters (0x0d)
Cc: stable@vger.kernel.org
Link: bluez/bluez#875
Fixes: 59b047b ("Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 227a0cd commit 532f8bc
3 files changed
Lines changed: 7 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
| |||
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
199 | | - | |
200 | 198 | | |
201 | 199 | | |
202 | 200 | | |
| |||
211 | 209 | | |
212 | 210 | | |
213 | 211 | | |
214 | | - | |
215 | 212 | | |
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
219 | 216 | | |
220 | 217 | | |
221 | 218 | | |
222 | | - | |
223 | | - | |
224 | 219 | | |
225 | 220 | | |
226 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2833 | 2833 | | |
2834 | 2834 | | |
2835 | 2835 | | |
2836 | | - | |
2837 | | - | |
| 2836 | + | |
2838 | 2837 | | |
2839 | 2838 | | |
2840 | 2839 | | |
| |||
7089 | 7088 | | |
7090 | 7089 | | |
7091 | 7090 | | |
7092 | | - | |
7093 | 7091 | | |
7094 | 7092 | | |
7095 | 7093 | | |
| |||
7099 | 7097 | | |
7100 | 7098 | | |
7101 | 7099 | | |
7102 | | - | |
7103 | | - | |
7104 | | - | |
7105 | | - | |
7106 | 7100 | | |
7107 | | - | |
| 7101 | + | |
7108 | 7102 | | |
7109 | 7103 | | |
7110 | 7104 | | |
| |||
7185 | 7179 | | |
7186 | 7180 | | |
7187 | 7181 | | |
7188 | | - | |
7189 | 7182 | | |
7190 | 7183 | | |
7191 | 7184 | | |
| |||
7220 | 7213 | | |
7221 | 7214 | | |
7222 | 7215 | | |
7223 | | - | |
7224 | | - | |
7225 | | - | |
7226 | | - | |
7227 | 7216 | | |
7228 | | - | |
| 7217 | + | |
7229 | 7218 | | |
7230 | 7219 | | |
7231 | 7220 | | |
| |||
9519 | 9508 | | |
9520 | 9509 | | |
9521 | 9510 | | |
9522 | | - | |
| 9511 | + | |
9523 | 9512 | | |
9524 | 9513 | | |
9525 | 9514 | | |
| |||
9570 | 9559 | | |
9571 | 9560 | | |
9572 | 9561 | | |
9573 | | - | |
| 9562 | + | |
9574 | 9563 | | |
9575 | 9564 | | |
9576 | 9565 | | |
| |||
9599 | 9588 | | |
9600 | 9589 | | |
9601 | 9590 | | |
9602 | | - | |
| 9591 | + | |
9603 | 9592 | | |
9604 | 9593 | | |
9605 | 9594 | | |
| |||
9628 | 9617 | | |
9629 | 9618 | | |
9630 | 9619 | | |
9631 | | - | |
| 9620 | + | |
9632 | 9621 | | |
9633 | 9622 | | |
9634 | 9623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
1064 | 1063 | | |
1065 | 1064 | | |
1066 | 1065 | | |
| |||
1080 | 1079 | | |
1081 | 1080 | | |
1082 | 1081 | | |
1083 | | - | |
1084 | 1082 | | |
1085 | 1083 | | |
1086 | 1084 | | |
1087 | 1085 | | |
1088 | 1086 | | |
1089 | 1087 | | |
1090 | | - | |
1091 | 1088 | | |
1092 | 1089 | | |
1093 | 1090 | | |
1094 | 1091 | | |
1095 | 1092 | | |
1096 | 1093 | | |
1097 | | - | |
1098 | 1094 | | |
1099 | 1095 | | |
1100 | 1096 | | |
1101 | 1097 | | |
1102 | 1098 | | |
1103 | 1099 | | |
1104 | | - | |
1105 | 1100 | | |
1106 | 1101 | | |
1107 | 1102 | | |
| |||
1121 | 1116 | | |
1122 | 1117 | | |
1123 | 1118 | | |
1124 | | - | |
1125 | | - | |
1126 | 1119 | | |
1127 | 1120 | | |
1128 | 1121 | | |
| |||
0 commit comments