diff options
author | Javier Cardona <javier@cozybit.com> | 2011-05-13 13:45:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-16 14:10:49 -0400 |
commit | 57cf8043a64b56a10b9f194572548a3dfb62e596 (patch) | |
tree | a0b9530e824c7e7b1417e20f87e800819abfe285 /net/wireless | |
parent | 108697c44b8e50bea3505c6bf9667da4627cb2d5 (diff) |
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/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index beac296b1fde..2222ce08ee91 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -2335,7 +2335,7 @@ static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info) | |||
2335 | memset(¶ms, 0, sizeof(params)); | 2335 | memset(¶ms, 0, sizeof(params)); |
2336 | 2336 | ||
2337 | params.listen_interval = -1; | 2337 | params.listen_interval = -1; |
2338 | params.plink_state = PLINK_INVALID; | 2338 | params.plink_state = -1; |
2339 | 2339 | ||
2340 | if (info->attrs[NL80211_ATTR_STA_AID]) | 2340 | if (info->attrs[NL80211_ATTR_STA_AID]) |
2341 | return -EINVAL; | 2341 | return -EINVAL; |