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

12345678910111213141516171819202122232425
  1. From 912b5c89328f1f9585e64fd13460928c71f28352 Mon Sep 17 00:00:00 2001
  2. From: Peter Oh <[email protected]>
  3. Date: Tue, 17 Apr 2018 21:55:09 -0700
  4. Subject: [PATCH 12/16] 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. @@ -8685,7 +8685,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. /*