mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
92379080ea
This adds From:, Date: and Subject: to patches, allowing one to run 'git am' to import the patches to a hostapd git repository. From: and Date: fields were taken from the OpenWrt commit where the patches were first introduced. Most of the Subject: also followed suit, except for: - 300-noscan.patch: Took the description from the LuCI web interface - 350-nl80211_del_beacon_bss.patch: Used the file name The order of the files in the patch was changed to match what git format-patch does. Signed-off-by: Eneas U de Queiroz <cotequeiroz@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
|
|
@@ -3100,6 +3100,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);
|
|
|