You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
832 B
Diff
26 lines
832 B
Diff
6 years ago
|
From 912b5c89328f1f9585e64fd13460928c71f28352 Mon Sep 17 00:00:00 2001
|
||
6 years ago
|
From: Peter Oh <peter.oh@bowerswilkins.com>
|
||
6 years ago
|
Date: Tue, 17 Apr 2018 21:55:09 -0700
|
||
|
Subject: [PATCH 12/16] mesh: allow mesh to send channel switch request
|
||
6 years ago
|
|
||
|
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
|
||
6 years ago
|
@@ -8685,7 +8685,8 @@ static int nl80211_switch_channel(void *
|
||
6 years ago
|
}
|
||
|
|
||
|
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;
|
||
|
|
||
|
/*
|