hostapd: adjust patches to work with git am
[openwrt/staging/xback.git] / package / network / services / hostapd / patches / 464-fix-mesh-obss-check.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Tue, 14 Nov 2017 12:38:08 +0100
3 Subject: [PATCH] Fix issues with disabling obss scan when using fixed_freq on
4 mesh
5
6 --- a/wpa_supplicant/wpa_supplicant.c
7 +++ b/wpa_supplicant/wpa_supplicant.c
8 @@ -3100,6 +3100,10 @@ void ibss_mesh_setup_freq(struct wpa_sup
9
10 freq->freq = ssid->frequency;
11
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);
18