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)
commite0bdef0f75f0ee0d4747b72fa75310da78dbfa56
treea17eca898652f41f484256f7bcd783e6c835749b
parent04a74a9f8af0cd61598e886c260ad0644b1dd5c0
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