Just removing a duplicated condition. Signed-off-by: Eduardo Abinader <eduardoabinader@xxxxxxxxx> --- src/drivers/driver_nl80211.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 3391012..f996c27 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -4382,8 +4382,7 @@ static int nl80211_setup_ap(struct i802_bss *bss) "nl80211: Failed to subscribe for mgmt frames from SME driver - trying to run without it"); if (!drv->device_ap_sme && drv->use_monitor && - nl80211_create_monitor_interface(drv) && - !drv->device_ap_sme) + nl80211_create_monitor_interface(drv)) return -1; if (drv->device_ap_sme && -- 2.5.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap