[FIX] wsp unregister 82/69982/4
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 29 Apr 2016 10:01:45 +0000 (13:01 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Fri, 23 Sep 2016 13:03:40 +0000 (06:03 -0700)
Change-Id: I05af37021f2fa911aa9b8c85dc1482947ca5ad9c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
wsp/wsp.c

index ac59030..8a3a45b 100644 (file)
--- a/wsp/wsp.c
+++ b/wsp/wsp.c
@@ -417,7 +417,7 @@ static int wsp_app_register(void)
 
 static void wsp_app_unregister(void)
 {
-       if (ewebkit.name != NULL) {
+       if (ewebkit.name == NULL) {
                printk("WSP: ewebkit path is not initialized\n");
                return;
        }