commit | f2edd9f67b8bdbe8cc3bc5c0ba4992e511147642 | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sre@kernel.org> | Sat Apr 15 23:54:13 2017 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sat Apr 22 10:28:40 2017 +0200 |
tree | cc5074c8d7cc0ff668acda681ab15ce4361f0dab | |
parent | fb796707d7a6c9b24fdf80b9b4f24fa5ffcf0ec5 [diff] |
Bluetooth: hci_ll: Fix NULL pointer deref on FW upload failure Avoid NULL pointer dereference occurring due to freeing skb containing an error pointer. It can easily be triggered by using the driver with broken uart (i.e. due to misconfigured pinmuxing). Fixes: 371805522f87 ("bluetooth: hci_uart: add LL protocol serdev driver support") Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>