]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20724568863690f963e88275548f6e16eaa47d51
tree3414e26db6b794d88c576ae5f25908408a805104
parent2caaa5b747481870b32f72b5604ff813faa35e38
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