0112-mesh-allow-mesh-to-send-channel-switch-request.patch 832 B

12345678910111213141516171819202122232425
  1. From 851f67301a8b9bc96c3d8cce08e355a64d30350d Mon Sep 17 00:00:00 2001
  2. From: Peter Oh <[email protected]>
  3. Date: Thu, 12 Apr 2018 02:49:09 -0700
  4. Subject: [PATCH 12/15] mesh: allow mesh to send channel switch request
  5. add mesh type to nl80211 channel switch request,
  6. so mesh is able to send the request to kernel drivers.
  7. Signed-off-by: Peter Oh <[email protected]>
  8. ---
  9. src/drivers/driver_nl80211.c | 3 ++-
  10. 1 file changed, 2 insertions(+), 1 deletion(-)
  11. --- a/src/drivers/driver_nl80211.c
  12. +++ b/src/drivers/driver_nl80211.c
  13. @@ -8659,7 +8659,8 @@ static int nl80211_switch_channel(void *
  14. }
  15. if ((drv->nlmode != NL80211_IFTYPE_AP) &&
  16. - (drv->nlmode != NL80211_IFTYPE_P2P_GO))
  17. + (drv->nlmode != NL80211_IFTYPE_P2P_GO) &&
  18. + (drv->nlmode != NL80211_IFTYPE_MESH_POINT) )
  19. return -EOPNOTSUPP;
  20. /*