]> git.ipfire.org Git - thirdparty/openwrt.git/blame - package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch
hostapd: adjust patches to work with git am
[thirdparty/openwrt.git] / package / network / services / hostapd / patches / 464-fix-mesh-obss-check.patch
CommitLineData
92379080
EQ
1From: Felix Fietkau <nbd@nbd.name>
2Date: Tue, 14 Nov 2017 12:38:08 +0100
3Subject: [PATCH] Fix issues with disabling obss scan when using fixed_freq on
4 mesh
5
d91494ee
FF
6--- a/wpa_supplicant/wpa_supplicant.c
7+++ b/wpa_supplicant/wpa_supplicant.c
24d0e746 8@@ -3100,6 +3100,10 @@ void ibss_mesh_setup_freq(struct wpa_sup
d91494ee 9
304423a4 10 freq->freq = ssid->frequency;
d91494ee 11
304423a4
NH
12+ if (ssid->fixed_freq) {
13+ obss_scan = 0;
14+ }
15+
16 if (ssid->mode == WPAS_MODE_IBSS && !ssid->fixed_freq) {
17 struct wpa_bss *bss = ibss_find_existing_bss(wpa_s, ssid);
d91494ee 18