hostapd: update to git HEAD of 2018-05-21, allow build against wolfssl
[openwrt/staging/wigyori.git] / package / network / services / hostapd / patches / 012-mesh-allow-mesh-to-send-channel-switch-request.patch
1 From 912b5c89328f1f9585e64fd13460928c71f28352 Mon Sep 17 00:00:00 2001
2 From: Peter Oh <peter.oh@bowerswilkins.com>
3 Date: Tue, 17 Apr 2018 21:55:09 -0700
4 Subject: [PATCH 12/16] mesh: allow mesh to send channel switch request
5
6 add mesh type to nl80211 channel switch request,
7 so mesh is able to send the request to kernel drivers.
8
9 Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
10 ---
11 src/drivers/driver_nl80211.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14 --- a/src/drivers/driver_nl80211.c
15 +++ b/src/drivers/driver_nl80211.c
16 @@ -8685,7 +8685,8 @@ static int nl80211_switch_channel(void *
17 }
18
19 if ((drv->nlmode != NL80211_IFTYPE_AP) &&
20 - (drv->nlmode != NL80211_IFTYPE_P2P_GO))
21 + (drv->nlmode != NL80211_IFTYPE_P2P_GO) &&
22 + (drv->nlmode != NL80211_IFTYPE_MESH_POINT) )
23 return -EOPNOTSUPP;
24
25 /*