Commit 78b99eb
Bluetooth: L2CAP: Send reject on command corrupted request
L2CAP/COS/CED/BI-02-C PTS test send a malformed L2CAP signaling packet
with 2 commands in it (a connection request and an unknown command) and
expect to get a connection response packet and a command reject packet.
The second is currently not sent.
Cc: stable@vger.kernel.org
Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 50efc63 commit 78b99eb
1 file changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6492 | 6492 | | |
6493 | 6493 | | |
6494 | 6494 | | |
| 6495 | + | |
| 6496 | + | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
| 6500 | + | |
| 6501 | + | |
| 6502 | + | |
6495 | 6503 | | |
6496 | 6504 | | |
6497 | 6505 | | |
| |||
6517 | 6525 | | |
6518 | 6526 | | |
6519 | 6527 | | |
| 6528 | + | |
6520 | 6529 | | |
6521 | 6530 | | |
6522 | 6531 | | |
6523 | 6532 | | |
6524 | 6533 | | |
6525 | | - | |
6526 | | - | |
6527 | 6534 | | |
6528 | | - | |
6529 | | - | |
6530 | | - | |
6531 | | - | |
| 6535 | + | |
6532 | 6536 | | |
6533 | 6537 | | |
6534 | 6538 | | |
6535 | 6539 | | |
6536 | 6540 | | |
| 6541 | + | |
| 6542 | + | |
| 6543 | + | |
| 6544 | + | |
| 6545 | + | |
6537 | 6546 | | |
6538 | 6547 | | |
6539 | 6548 | | |
| |||
0 commit comments