]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: btmrvl: fix error return code in btmrvl_sdio_card_to_host()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Jun 2013 02:16:55 +0000 (10:16 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Jun 2013 17:32:28 +0000 (13:32 -0400)
commit6ea81c415574acb88faca905e1d7316057e90a5b
tree79d0bddaffd5aef3aab40e378e99dbdc2c1090e7
parent178c059e7640aa8e50213400c6f3dde00189d979
Bluetooth: btmrvl: fix error return code in btmrvl_sdio_card_to_host()

Fix to return -ENOMEM in the skb alloc error handling case
instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bluetooth/btmrvl_sdio.c