diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0c5c6bb6f..5cff47fab 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -8684,8 +8684,9 @@ static int nl80211_switch_channel(void *priv, struct csa_settings *settings) return -EOPNOTSUPP; } - if ((drv->nlmode != NL80211_IFTYPE_AP) && - (drv->nlmode != NL80211_IFTYPE_P2P_GO)) + if (drv->nlmode != NL80211_IFTYPE_AP && + drv->nlmode != NL80211_IFTYPE_P2P_GO && + drv->nlmode != NL80211_IFTYPE_MESH_POINT) return -EOPNOTSUPP; /*