diff options
| author | 2013-09-16 13:05:16 +0300 | |
|---|---|---|
| committer | 2013-09-18 16:45:28 -0500 | |
| commit | 7c2005d6f9128aec77833019f5c134e4c63af9c5 (patch) | |
| tree | 690e1d08865a2e1b80e622bd59f4cf11d48bb0d9 /fs/jbd2/commit.c | |
| parent | Bluetooth: Fix L2CAP Disconnect response for unknown CID (diff) | |
| download | linux-dev-7c2005d6f9128aec77833019f5c134e4c63af9c5.tar.xz linux-dev-7c2005d6f9128aec77833019f5c134e4c63af9c5.zip | |
Bluetooth: Fix L2CAP command reject reason
There are several possible reason codes that can be sent in the command
reject L2CAP packet. Before this patch the code has used a hard-coded
single response code ("command not understood"). This patch adds a
helper function to map the return value of an L2CAP handler function to
the correct command reject reason.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
