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 <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
dac211ec10
commit
be0f42377f
|
@ -41,6 +41,10 @@ __ieee80211_get_channel_mode(struct ieee80211_local *local,
|
||||||
if (!sdata->u.ap.beacon)
|
if (!sdata->u.ap.beacon)
|
||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
|
case NL80211_IFTYPE_MESH_POINT:
|
||||||
|
if (!sdata->wdev.mesh_id_len)
|
||||||
|
continue;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue