Fix build error 11/126311/1
authorHyuk Lee <hyuk0512.lee@samsung.com>
Fri, 21 Apr 2017 02:00:10 +0000 (11:00 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Fri, 21 Apr 2017 02:00:10 +0000 (11:00 +0900)
Change-Id: Id0b2e252b01094018eaabb5c22337c70b7bf8a9e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-ipsp/bt-ipsp.c

index 1e3972a..ce6cb12 100644 (file)
@@ -550,7 +550,7 @@ int __bt_ipsp_create_ipv6_remote_address(char *remote_address, char **ipv6_addre
 
 static int _execute_ip_command(const char *ip_args)
 {
-       if (cmd == NULL) {
+       if (ip_args == NULL) {
                BT_ERR("Invalid param\n");
                return -1;
        }