commit | 3713416763dc03e9011a3146c42411189531446f | [log] [tgz] |
---|---|---|
author | Chan-yeol Park <chanyeol.park@samsung.com> | Wed Jun 17 21:10:39 2015 +0900 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jun 17 14:21:08 2015 +0200 |
tree | a2409a72dfb3f71c29b23ca89ef8a91f3acd0cad | |
parent | 30811fa663d7efa65ccec290b47a1f564485fcdd [diff] |
Bluetooth: hci_uart: Fix dereferencing of ERR_PTR If h4_recv_buf() return ERR_PTR instead sk_buff pointer, it should be cleared once PTR_ERR is completed for the further dereference such as h4_recv(), or h4_close(). Signed-off-by: Chan-yeol Park <chanyeol.park@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>