mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-19 10:33:05 -05:00
Remove unnecessary ctrl_iface command check
MESH_GROUP_REMOVE always passes in the cmd pointer, so this cannot really be NULL. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d463c5566f
commit
49328f0756
@ -2466,12 +2466,6 @@ static int wpa_supplicant_ctrl_iface_mesh_group_add(
|
|||||||
static int wpa_supplicant_ctrl_iface_mesh_group_remove(
|
static int wpa_supplicant_ctrl_iface_mesh_group_remove(
|
||||||
struct wpa_supplicant *wpa_s, char *cmd)
|
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
|
* TODO: Support a multiple mesh and other iface type combinations
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user