projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7035162
)
mesh: Stop joining to different frequency network
author
Masashi Honma
<masashi.honma@gmail.com>
Fri, 8 Jul 2016 02:39:13 +0000
(11:39 +0900)
committer
Jouni Malinen
<j@w1.fi>
Sat, 23 Jul 2016 18:57:15 +0000
(21:57 +0300)
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
b94febb
..
50461b6
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-1033,6
+1033,14
@@
struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
continue;
}
+#ifdef CONFIG_MESH
+ if (ssid->mode == IEEE80211_MODE_MESH && ssid->frequency > 0 &&
+ ssid->frequency != bss->freq) {
+ wpa_dbg(wpa_s, MSG_DEBUG, " skip - frequency not allowed (mesh)");
+ continue;
+ }
+#endif /* CONFIG_MESH */
+
if (!rate_match(wpa_s, bss)) {
wpa_dbg(wpa_s, MSG_DEBUG, " skip - rate sets do "
"not match");