projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a5a74
)
driver_nl80211: Do not send nl80211 message if beacon is not set yet
author
Michael Bernhard
<michael.bernhard@bfh.ch>
Sun, 13 Apr 2008 09:41:30 +0000
(12:41 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sun, 13 Apr 2008 09:41:30 +0000
(12:41 +0300)
Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
hostapd/driver_nl80211.c
patch
|
blob
|
history
diff --git
a/hostapd/driver_nl80211.c
b/hostapd/driver_nl80211.c
index
cd2c66a
..
829e23d
100644
(file)
--- a/
hostapd/driver_nl80211.c
+++ b/
hostapd/driver_nl80211.c
@@
-1152,6
+1152,9
@@
static int i802_set_beacon_int(void *priv, int value)
drv->beacon_int = value;
+ if (!drv->beacon_set)
+ return 0;
+
msg = nlmsg_alloc();
if (!msg)
goto out;