mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
da11a1e20c
Remove upstreamed from 2.11 release: 060-nl80211-fix-crash-when-adding-an-interface-fails.patch Rebase all other patches Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16338 Signed-off-by: Robert Marko <robimarko@gmail.com>
19 lines
507 B
Diff
19 lines
507 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Date: Tue, 14 Nov 2017 12:38:08 +0100
|
|
Subject: [PATCH] Fix issues with disabling obss scan when using fixed_freq on
|
|
mesh
|
|
|
|
--- a/wpa_supplicant/wpa_supplicant.c
|
|
+++ b/wpa_supplicant/wpa_supplicant.c
|
|
@@ -3234,6 +3234,10 @@ void ibss_mesh_setup_freq(struct wpa_sup
|
|
|
|
freq->freq = ssid->frequency;
|
|
|
|
+ if (ssid->fixed_freq) {
|
|
+ obss_scan = 0;
|
|
+ }
|
|
+
|
|
if (ssid->mode == WPAS_MODE_IBSS && !ssid->fixed_freq) {
|
|
struct wpa_bss *bss = ibss_find_existing_bss(wpa_s, ssid);
|
|
|