projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26820b4
)
nl80211: Remove duplicated check in nl80211_setup_ap()
author
Eduardo Abinader
<eduardoabinader@gmail.com>
Tue, 16 Aug 2016 15:43:04 +0000
(17:43 +0200)
committer
Jouni Malinen
<j@w1.fi>
Wed, 17 Aug 2016 10:42:11 +0000
(13:42 +0300)
Just removing a duplicated condition.
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
src/drivers/driver_nl80211.c
patch
|
blob
|
history
diff --git
a/src/drivers/driver_nl80211.c
b/src/drivers/driver_nl80211.c
index
338cdc9
..
61e641e
100644
(file)
--- a/
src/drivers/driver_nl80211.c
+++ b/
src/drivers/driver_nl80211.c
@@
-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 &&