Commit 94f14e4
Bluetooth: SMP: Fix trying to use non-existent local OOB data
A remote device may claim that it has received our OOB data, even
though we never geneated it. Add a new flag to track whether we
actually have OOB data, and ignore the remote peer's flag if haven't
generated OOB data.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>1 parent 7c5cca3 commit 94f14e4
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
599 | 600 | | |
600 | 601 | | |
601 | 602 | | |
| 603 | + | |
| 604 | + | |
602 | 605 | | |
603 | 606 | | |
604 | 607 | | |
| |||
1785 | 1788 | | |
1786 | 1789 | | |
1787 | 1790 | | |
1788 | | - | |
| 1791 | + | |
1789 | 1792 | | |
1790 | 1793 | | |
1791 | 1794 | | |
| |||
1967 | 1970 | | |
1968 | 1971 | | |
1969 | 1972 | | |
1970 | | - | |
| 1973 | + | |
1971 | 1974 | | |
1972 | 1975 | | |
1973 | 1976 | | |
| |||
3230 | 3233 | | |
3231 | 3234 | | |
3232 | 3235 | | |
| 3236 | + | |
3233 | 3237 | | |
3234 | 3238 | | |
3235 | 3239 | | |
| |||
0 commit comments