summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJavier Cardona2011-05-13 19:45:43 +0200
committerJohn W. Linville2011-05-16 20:10:49 +0200
commit57cf8043a64b56a10b9f194572548a3dfb62e596 (patch)
treea0b9530e824c7e7b1417e20f87e800819abfe285 /net/mac80211/cfg.c
parentath9k: make npending frames check as bool (diff)
downloadkernel-qcow2-linux-57cf8043a64b56a10b9f194572548a3dfb62e596.tar.gz
kernel-qcow2-linux-57cf8043a64b56a10b9f194572548a3dfb62e596.tar.xz
kernel-qcow2-linux-57cf8043a64b56a10b9f194572548a3dfb62e596.zip
nl80211: Move peer link state definition to nl80211
These definitions need to be exposed now that we can set the peer link states via NL80211_ATTR_STA_PLINK_STATE. They were already being (opaquely) reported by NL80211_STA_INFO_PLINK_STATE. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 6ecd5862735d..be70c70d3f5b 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -730,9 +730,9 @@ static void sta_apply_parameters(struct ieee80211_local *local,
#ifdef CONFIG_MAC80211_MESH
if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED)
switch (params->plink_state) {
- case PLINK_LISTEN:
- case PLINK_ESTAB:
- case PLINK_BLOCKED:
+ case NL80211_PLINK_LISTEN:
+ case NL80211_PLINK_ESTAB:
+ case NL80211_PLINK_BLOCKED:
sta->plink_state = params->plink_state;
break;
default: