Fix build error
[platform/core/connectivity/bluetooth-agent.git] / bt-ipsp / bt-ipsp.c
index 4f4c2df..cbc9151 100644 (file)
@@ -551,7 +551,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;
        }