aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-04-28 21:12:19 +0200
committerDaniel Golle <daniel@makrotopia.org>2018-05-24 22:21:10 +0200
commit69f544937f8498e856690f9809a016f0d7f5f68b (patch)
treec960bb0f4672ca1427fc7a8a8ea2741602b543b4 /package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch
parent51740777fb37cb7bdc250d74b366840269439cf3 (diff)
downloadupstream-69f544937f8498e856690f9809a016f0d7f5f68b.tar.gz
upstream-69f544937f8498e856690f9809a016f0d7f5f68b.tar.bz2
upstream-69f544937f8498e856690f9809a016f0d7f5f68b.zip
hostapd: update to git HEAD of 2018-05-21, allow build against wolfssl
Support for building wpa_supplicant/hostapd against wolfssl has been added upstream recently, add build option to allow users using it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch')
-rw-r--r--package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch b/package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch
new file mode 100644
index 0000000000..39df49870c
--- /dev/null
+++ b/package/network/services/hostapd/patches/012-mesh-allow-mesh-to-send-channel-switch-request.patch
@@ -0,0 +1,25 @@
+From 912b5c89328f1f9585e64fd13460928c71f28352 Mon Sep 17 00:00:00 2001
+From: Peter Oh <peter.oh@bowerswilkins.com>
+Date: Tue, 17 Apr 2018 21:55:09 -0700
+Subject: [PATCH 12/16] mesh: allow mesh to send channel switch request
+
+add mesh type to nl80211 channel switch request,
+so mesh is able to send the request to kernel drivers.
+
+Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
+---
+ src/drivers/driver_nl80211.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/src/drivers/driver_nl80211.c
++++ b/src/drivers/driver_nl80211.c
+@@ -8685,7 +8685,8 @@ static int nl80211_switch_channel(void *
+ }
+
+ if ((drv->nlmode != NL80211_IFTYPE_AP) &&
+- (drv->nlmode != NL80211_IFTYPE_P2P_GO))
++ (drv->nlmode != NL80211_IFTYPE_P2P_GO) &&
++ (drv->nlmode != NL80211_IFTYPE_MESH_POINT) )
+ return -EOPNOTSUPP;
+
+ /*