diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index c7302f8cc..ddbd4b4bf 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -8006,6 +8006,9 @@ static int nl80211_set_param(void *priv, const char *param) drv->test_use_roc_tx = 1; } + if (os_strstr(param, "control_port=0")) + drv->capa.flags &= ~WPA_DRIVER_FLAGS_CONTROL_PORT; + return 0; }