mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 03:56:49 +00:00
hostapd: fix patch rebase after a crash fix
The patch refresh accidentally moved the hostapd_ucode_free_iface call to the wrong function Fixes:e9722aef9e
("hostapd: fix a crash when disabling an interface during channel list update") Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit3a5ad6e3d7
)
This commit is contained in:
parent
fe1028e89c
commit
2f30dec3cb
@ -107,14 +107,14 @@
|
|||||||
hostapd_ubus_free_bss(hapd);
|
hostapd_ubus_free_bss(hapd);
|
||||||
accounting_deinit(hapd);
|
accounting_deinit(hapd);
|
||||||
hostapd_deinit_wpa(hapd);
|
hostapd_deinit_wpa(hapd);
|
||||||
@@ -570,6 +573,7 @@ static void sta_track_deinit(struct host
|
@@ -600,6 +603,7 @@ void hostapd_cleanup_iface_partial(struc
|
||||||
void hostapd_cleanup_iface_partial(struct hostapd_iface *iface)
|
static void hostapd_cleanup_iface(struct hostapd_iface *iface)
|
||||||
{
|
{
|
||||||
wpa_printf(MSG_DEBUG, "%s(%p)", __func__, iface);
|
wpa_printf(MSG_DEBUG, "%s(%p)", __func__, iface);
|
||||||
+ hostapd_ucode_free_iface(iface);
|
+ hostapd_ucode_free_iface(iface);
|
||||||
eloop_cancel_timeout(channel_list_update_timeout, iface, NULL);
|
eloop_cancel_timeout(hostapd_interface_setup_failure_handler, iface,
|
||||||
#ifdef NEED_AP_MLME
|
NULL);
|
||||||
hostapd_stop_setup_timers(iface);
|
|
||||||
@@ -1189,6 +1193,7 @@ static int hostapd_start_beacon(struct h
|
@@ -1189,6 +1193,7 @@ static int hostapd_start_beacon(struct h
|
||||||
hapd->driver->set_operstate(hapd->drv_priv, 1);
|
hapd->driver->set_operstate(hapd->drv_priv, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user