wlcore: don't hide real error code when booting fails
authorLuciano Coelho <coelho@ti.com>
Wed, 30 Jan 2013 08:53:14 +0000 (10:53 +0200)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Feb 2013 08:05:02 +0000 (10:05 +0200)
commit5dc283fe9ab360433aa05fcbe0f43cad40f68774
tree3414e26db6b794d88c576ae5f25908408a805104
parent6cc9efed707c575a9e5880ea68f8b9d36b235f1f
wlcore: don't hide real error code when booting fails

There's no need to hide the actual error that was reported when
booting fails.  For instance, on I/O error, we were returing
-EINVALID, which doesn't make sense at all.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c