|
@@ -1565,8 +1565,8 @@ static int ieee80211_update_mesh_config(struct wiphy *wiphy,
|
|
* announcements, so require this ifmsh to also be a root node
|
|
* announcements, so require this ifmsh to also be a root node
|
|
* */
|
|
* */
|
|
if (nconf->dot11MeshGateAnnouncementProtocol &&
|
|
if (nconf->dot11MeshGateAnnouncementProtocol &&
|
|
- !conf->dot11MeshHWMPRootMode) {
|
|
|
|
- conf->dot11MeshHWMPRootMode = 1;
|
|
|
|
|
|
+ !(conf->dot11MeshHWMPRootMode > IEEE80211_ROOTMODE_ROOT)) {
|
|
|
|
+ conf->dot11MeshHWMPRootMode = IEEE80211_PROACTIVE_RANN;
|
|
ieee80211_mesh_root_setup(ifmsh);
|
|
ieee80211_mesh_root_setup(ifmsh);
|
|
}
|
|
}
|
|
conf->dot11MeshGateAnnouncementProtocol =
|
|
conf->dot11MeshGateAnnouncementProtocol =
|