libertas: fix an error code in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Mar 2016 12:04:08 +0000 (15:04 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 12:56:46 +0000 (14:56 +0200)
commit3691ac4a9c957c2896f8ebfb8a92081301f1682e
treed6abcbe2fe67ebc4a76a552fc619fa07ecf81263
parent6ab882a8aa896bc148f282df1372e8638cace49a
libertas: fix an error code in probe

We accidentally return success instead of a negative error code.

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