driver_nl80211: Do not send nl80211 message if beacon is not set yet

Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
master
Michael Bernhard 16 years ago committed by Jouni Malinen
parent f4a5a7468d
commit 4c6122c397

@ -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;

Loading…
Cancel
Save