staging: wilc1000: handle connecting error
authorGlen Lee <glen.lee@atmel.com>
Thu, 4 Feb 2016 09:15:21 +0000 (18:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit430e640d6d24cf0c9ff035536fd9daa8f2cc879d
treee5b6441d01be428e30a05b30296864863aa98ac1
parentff9d65abc8561d67313cd310dc15d2f496282a92
staging: wilc1000: handle connecting error

If connection fails, wilc1000_connecting needs to be set false also and return
immediately because goto lable 'done' doesn't do anything. Remove lable 'done'
as well.

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