mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-17 12:37:02 +00:00
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
@ -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 New Issue
Block a user