aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2012-04-30 17:20:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-08 21:53:57 -0400
commit431e31542383b71bc5f2642572a1e6ef07f1bb87 (patch)
tree39d2cbc1b9e4321b27b6938034de67c4dedcdf9f /net/mac80211/mesh.c
parentef9456a85dabe2222a4cb80fe8eef6361170c55d (diff)
mac80211: Advertise HT protection mode in IEs
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com> Reviewed-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 598a96a3a051..8a952e04690a 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -396,7 +396,8 @@ int mesh_add_ht_oper_ie(struct sk_buff *skb,
396 return -ENOMEM; 396 return -ENOMEM;
397 397
398 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_operation)); 398 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_operation));
399 ieee80211_ie_build_ht_oper(pos, ht_cap, channel, channel_type); 399 ieee80211_ie_build_ht_oper(pos, ht_cap, channel, channel_type,
400 sdata->vif.bss_conf.ht_operation_mode);
400 401
401 return 0; 402 return 0;
402} 403}