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:
parent
f4a5a7468d
commit
4c6122c397
1 changed files with 3 additions and 0 deletions
|
@ -1152,6 +1152,9 @@ static int i802_set_beacon_int(void *priv, int value)
|
||||||
|
|
||||||
drv->beacon_int = value;
|
drv->beacon_int = value;
|
||||||
|
|
||||||
|
if (!drv->beacon_set)
|
||||||
|
return 0;
|
||||||
|
|
||||||
msg = nlmsg_alloc();
|
msg = nlmsg_alloc();
|
||||||
if (!msg)
|
if (!msg)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in a new issue