mac80211: allow channel change while mesh is down
PATCH 1/1 mac80211: allow channel change while mesh is down
Allow channel change on a mesh interface if the interface is up and no mesh is started.
Signed-off-by Thomas Pedersen <[email protected]>
--- net/mac80211/chan.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
net/mac80211/chan.c +4 -0
@@ -41,6 +41,10 @@ __ieee80211_get_channel_mode(struct ieee80211_local *local,if (!sdata->u.ap.beacon)continue ;break ; +case NL80211_IFTYPE_MESH_POINT : +if (!sdata->wdev.mesh_id_len) +continue ; +break ;default :break ; }
Signature · 1 line
1.7.5.4