hostapd: add missing return statement
Avoids crash due to uninitialized stack/register garbage Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
02b4dc93b6
commit
6cf27094e9
1 changed files with 2 additions and 0 deletions
|
@ -396,6 +396,8 @@ uc_hostapd_iface_stop(uc_vm_t *vm, size_t nargs)
|
|||
hostapd_drv_stop_ap(hapd);
|
||||
hapd->beacon_set_done = 0;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static uc_value_t *
|
||||
|
|
Loading…
Reference in a new issue