]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit192d7653b8921a6d5e9e6297d6756f423eaaa481
treee5b6441d01be428e30a05b30296864863aa98ac1
parenta9faa6432eb8e695492d1a6c83ea518c3fb7acb0
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