summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-05-12 14:06:31 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2011-05-12 14:07:27 +1000
commit9bb2a3ff560e18a9366c00b1161bc591c2370703 (patch)
tree92101d04fb5e88cedb85c966efb540ac9841a2b0
parent03797e8ceb7d2ba1556cec5f5cbc713998823d12 (diff)
nl80211: fix for reference to sta_info -> plink_state
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index a2ff47493e0a..e09001278db5 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -743,7 +743,9 @@ static void sta_apply_parameters(struct ieee80211_local *local,
case PLINK_LISTEN:
case PLINK_ESTAB:
case PLINK_BLOCKED:
+#ifdef CONFIG_MAC80211_MESH
sta->plink_state = params->plink_state;
+#endif
break;
default:
/* nothing */