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

Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
This commit is contained in:
Michael Bernhard 2008-04-13 12:41:30 +03:00 committed by Jouni Malinen
parent f4a5a7468d
commit 4c6122c397

View file

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