nl80211: Allow mesh interface to send channel switch request
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>
This commit is contained in:
parent
64224d5871
commit
0928b62944
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue