]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: btrtl: Fix an issue for the incorrect error return code.
authorMax Chou <max.chou@realtek.com>
Wed, 18 Sep 2019 08:56:41 +0000 (16:56 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2019 17:26:40 +0000 (19:26 +0200)
commitd171dfb621240ee6c77cb354c0767b6dd41f83fe
treef780a0ebd7d0c056137781157ed2933cc075f7e1
parent088fc633f2d99fee8cbe82047e01068e1c5ffab6
Bluetooth: btrtl: Fix an issue for the incorrect error return code.

It does not need the '-' for PTR_ERR(skb) because PTR_ERR(skb) will
return the negative value during errors.

Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrtl.c