staging: wilc1000: return linux error value
authorGlen Lee <glen.lee@atmel.com>
Fri, 20 Nov 2015 07:56:32 +0000 (16:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:36:16 +0000 (14:36 -0800)
commitc2ba8b2bc232721e8bddd86bfe22503b0bf5f2e5
treed63e666341434aaad2d029d975775f8042f23fc7
parent604f6e2dae1c502018c32dd9e8de92767268eaa5
staging: wilc1000: return linux error value

Return proper linux error value -ETIMEDOUT instead of -1.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c