mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-22 03:42:41 +00:00
Some checks failed
Build OpenWrt/uCentral images / build (cig_wf186h) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf186w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf188n) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf189) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf196) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-a1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-b1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap102) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap104) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap105) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap111) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap112) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_3) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xe) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (indio_um-305ax) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sercomm_ap72tip) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630c-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-211g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-id2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-od2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr5018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018-v4) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax820) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax840) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap640) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap650) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap655) (push) Has been cancelled
Build OpenWrt/uCentral images / trigger-testing (push) Has been cancelled
Build OpenWrt/uCentral images / create-x64_vm-ami (push) Has been cancelled
Signed-off-by: John Crispin <john@phrozen.org>
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
Index: hostapd-2023-06-22-599d00be/src/ap/ieee802_11.c
|
|
===================================================================
|
|
--- hostapd-2023-06-22-599d00be.orig/src/ap/ieee802_11.c
|
|
+++ hostapd-2023-06-22-599d00be/src/ap/ieee802_11.c
|
|
@@ -6797,11 +6797,7 @@ static void handle_assoc_cb(struct hosta
|
|
}
|
|
}
|
|
|
|
- /* WPS not supported on backhaul BSS. Disable 4addr mode on fronthaul */
|
|
- if ((sta->flags & WLAN_STA_WDS) ||
|
|
- (sta->flags & WLAN_STA_MULTI_AP &&
|
|
- !(hapd->conf->multi_ap & FRONTHAUL_BSS) &&
|
|
- !(sta->flags & WLAN_STA_WPS))) {
|
|
+ if (sta->flags & (WLAN_STA_WDS | WLAN_STA_MULTI_AP)) {
|
|
int ret;
|
|
char ifname_wds[IFNAMSIZ + 1];
|
|
int aid;
|
|
Index: hostapd-2023-06-22-599d00be/src/ap/sta_info.c
|
|
===================================================================
|
|
--- hostapd-2023-06-22-599d00be.orig/src/ap/sta_info.c
|
|
+++ hostapd-2023-06-22-599d00be/src/ap/sta_info.c
|
|
@@ -242,10 +242,7 @@ void ap_free_sta(struct hostapd_data *ha
|
|
ap_sta_set_authorized(hapd, sta, 0);
|
|
hostapd_set_sta_flags(hapd, sta);
|
|
|
|
- if ((sta->flags & WLAN_STA_WDS) ||
|
|
- (sta->flags & WLAN_STA_MULTI_AP &&
|
|
- !(hapd->conf->multi_ap & FRONTHAUL_BSS) &&
|
|
- !(sta->flags & WLAN_STA_WPS))) {
|
|
+ if (sta->flags & (WLAN_STA_WDS | WLAN_STA_MULTI_AP)) {
|
|
int aid;
|
|
|
|
if (hapd->conf->mld_ap && (sta->flags & WLAN_STA_WDS))
|