|
@@ -2042,6 +2042,13 @@ static int wpa_cli_cmd_mesh_group_remove(struct wpa_ctrl *ctrl, int argc,
|
|
return wpa_cli_cmd(ctrl, "MESH_GROUP_REMOVE", 1, argc, argv);
|
|
return wpa_cli_cmd(ctrl, "MESH_GROUP_REMOVE", 1, argc, argv);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+static int wpa_cli_cmd_mesh_peer_remove(struct wpa_ctrl *ctrl, int argc,
|
|
|
|
+ char *argv[])
|
|
|
|
+{
|
|
|
|
+ return wpa_cli_cmd(ctrl, "MESH_PEER_REMOVE", 1, argc, argv);
|
|
|
|
+}
|
|
|
|
+
|
|
#endif /* CONFIG_MESH */
|
|
#endif /* CONFIG_MESH */
|
|
|
|
|
|
|
|
|
|
@@ -3210,6 +3217,9 @@ static const struct wpa_cli_cmd wpa_cli_commands[] = {
|
|
{ "mesh_group_remove", wpa_cli_cmd_mesh_group_remove, NULL,
|
|
{ "mesh_group_remove", wpa_cli_cmd_mesh_group_remove, NULL,
|
|
cli_cmd_flag_none,
|
|
cli_cmd_flag_none,
|
|
"<ifname> = Remove mesh group interface" },
|
|
"<ifname> = Remove mesh group interface" },
|
|
|
|
+ { "mesh_peer_remove", wpa_cli_cmd_mesh_peer_remove, NULL,
|
|
|
|
+ cli_cmd_flag_none,
|
|
|
|
+ "<addr> = Remove a mesh peer" },
|
|
#endif /* CONFIG_MESH */
|
|
#endif /* CONFIG_MESH */
|
|
#ifdef CONFIG_P2P
|
|
#ifdef CONFIG_P2P
|
|
{ "p2p_find", wpa_cli_cmd_p2p_find, wpa_cli_complete_p2p_find,
|
|
{ "p2p_find", wpa_cli_cmd_p2p_find, wpa_cli_complete_p2p_find,
|