Skip to contentSkip to conversation

mac80211: allow channel change while mesh is down

PATCH New Thomas Pedersen 1 participant 1 message May 14, 2012 mac80211

lore
Share & tools
lore
#0 lore raw

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.

---
 net/mac80211/chan.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
net/mac80211/chan.c +4 -0
index c76cf72..f0f87e5 100644
@@ -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