From: Peter Oh <peter.oh@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx> --- src/drivers/driver_nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index d5aa3faf1..73555808b 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -8659,7 +8659,8 @@ static int nl80211_switch_channel(void *priv, struct csa_settings *settings) } 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; /* -- 2.11.0 (Apple Git-81) _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap