]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/ctrl_iface.c
Remove unnecessary ctrl_iface command check
[thirdparty/hostap.git] / wpa_supplicant / ctrl_iface.c
index 33da50ed4ad91a800be29e980106f91e5066db9f..6bc9d88306a0e1ce530eb536b4ff49ab444af659 100644 (file)
@@ -2466,12 +2466,6 @@ static int wpa_supplicant_ctrl_iface_mesh_group_add(
 static int wpa_supplicant_ctrl_iface_mesh_group_remove(
        struct wpa_supplicant *wpa_s, char *cmd)
 {
-       if (!cmd) {
-               wpa_printf(MSG_ERROR,
-                          "CTRL_IFACE: MESH_GROUP_REMOVE ifname cannot be empty");
-               return -1;
-       }
-
        /*
         * TODO: Support a multiple mesh and other iface type combinations
         */