nl80211: Remove duplicated check in nl80211_setup_ap()
Just removing a duplicated condition. Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
This commit is contained in:
parent
26820b4fc1
commit
647862eb60
1 changed files with 1 additions and 2 deletions
|
@ -4384,8 +4384,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 &&
|
||||
|
|
Loading…
Reference in a new issue