-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #583 from Telecominfraproject/main
merge main to release branch
- Loading branch information
Showing
18 changed files
with
148 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...q807x_v5.4/hostapd/patches/043-hostapd-cancel-channel_list_update_timeout-in-hostap.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From: Felix Fietkau <nbd@nbd.name> | ||
Date: Wed, 20 Sep 2023 13:41:10 +0200 | ||
Subject: [PATCH] hostapd: cancel channel_list_update_timeout in | ||
hostapd_cleanup_iface_partial | ||
|
||
Fixes a crash when disabling an interface during channel list update | ||
|
||
Signed-off-by: Felix Fietkau <nbd@nbd.name> | ||
--- | ||
|
||
--- a/src/ap/hostapd.c | ||
+++ b/src/ap/hostapd.c | ||
@@ -501,6 +501,7 @@ static void sta_track_deinit(struct host | ||
void hostapd_cleanup_iface_partial(struct hostapd_iface *iface) | ||
{ | ||
wpa_printf(MSG_DEBUG, "%s(%p)", __func__, iface); | ||
+ eloop_cancel_timeout(channel_list_update_timeout, iface, NULL); | ||
#ifdef NEED_AP_MLME | ||
hostapd_stop_setup_timers(iface); | ||
#endif /* NEED_AP_MLME */ | ||
@@ -529,7 +530,6 @@ void hostapd_cleanup_iface_partial(struc | ||
static void hostapd_cleanup_iface(struct hostapd_iface *iface) | ||
{ | ||
wpa_printf(MSG_DEBUG, "%s(%p)", __func__, iface); | ||
- eloop_cancel_timeout(channel_list_update_timeout, iface, NULL); | ||
eloop_cancel_timeout(hostapd_interface_setup_failure_handler, iface, | ||
NULL); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.