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:
8468189
)
nl80211: Do not switch interface to station mode when using mesh
author
Felix Fietkau
<nbd@nbd.name>
Tue, 26 Jul 2016 11:29:36 +0000
(13:29 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 13 Aug 2016 07:44:11 +0000
(10:44 +0300)
This fixes issues with adding mesh interfaces to a bridge.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
src/drivers/driver_nl80211.c
patch
|
blob
|
history
diff --git
a/src/drivers/driver_nl80211.c
b/src/drivers/driver_nl80211.c
index
7743bd5
..
3391012
100644
(file)
--- a/
src/drivers/driver_nl80211.c
+++ b/
src/drivers/driver_nl80211.c
@@
-2332,7
+2332,8
@@
wpa_driver_nl80211_finish_drv_init(struct wpa_driver_nl80211_data *drv,
if (drv->hostapd || bss->static_ap)
nlmode = NL80211_IFTYPE_AP;
- else if (bss->if_dynamic)
+ else if (bss->if_dynamic ||
+ nl80211_get_ifmode(bss) == NL80211_IFTYPE_MESH_POINT)
nlmode = nl80211_get_ifmode(bss);
else
nlmode = NL80211_IFTYPE_STATION;