]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: missing error code on allocation failure
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Apr 2016 14:21:58 +0000 (07:21 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Apr 2016 09:28:53 +0000 (12:28 +0300)
commitfd4fcb4e5f0fe8df71b838addb1fdec162ac0891
treea17eca898652f41f484256f7bcd783e6c835749b
parent448a3b1805d85b86a932b18b947e45021aeeae7d
mwifiex: missing error code on allocation failure

We accidentally return success instead of -ENOMEM.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/usb.c