提交 4daf50f2 编写于 作者: Y Yogesh Ashok Powar 提交者: John W. Linville

mac80211: Fix mesh-related build breakage...

net/mac80211/cfg.c: In function ‘sta_apply_parameters’:
net/mac80211/cfg.c:746: error: ‘struct sta_info’ has no member named ‘plink_state’
make[1]: *** [net/mac80211/cfg.o] Error 1
make: *** [net/mac80211/mac80211.ko] Error 2
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 bbe6ad6d
...@@ -738,6 +738,7 @@ static void sta_apply_parameters(struct ieee80211_local *local, ...@@ -738,6 +738,7 @@ static void sta_apply_parameters(struct ieee80211_local *local,
&sta->sta.ht_cap); &sta->sta.ht_cap);
if (ieee80211_vif_is_mesh(&sdata->vif)) { if (ieee80211_vif_is_mesh(&sdata->vif)) {
#ifdef CONFIG_MAC80211_MESH
if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED)
switch (params->plink_state) { switch (params->plink_state) {
case PLINK_LISTEN: case PLINK_LISTEN:
...@@ -758,6 +759,7 @@ static void sta_apply_parameters(struct ieee80211_local *local, ...@@ -758,6 +759,7 @@ static void sta_apply_parameters(struct ieee80211_local *local,
mesh_plink_block(sta); mesh_plink_block(sta);
break; break;
} }
#endif
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册