summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2012-04-30 14:20:29 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-05-08 21:53:57 -0400
commit431e31542383b71bc5f2642572a1e6ef07f1bb87 (patch)
tree39d2cbc1b9e4321b27b6938034de67c4dedcdf9f /net/mac80211/mesh.c
parentef9456a85dabe2222a4cb80fe8eef6361170c55d (diff)
downloadblackbird-op-linux-431e31542383b71bc5f2642572a1e6ef07f1bb87.tar.gz
blackbird-op-linux-431e31542383b71bc5f2642572a1e6ef07f1bb87.zip
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,
return -ENOMEM;
pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_operation));
- ieee80211_ie_build_ht_oper(pos, ht_cap, channel, channel_type);
+ ieee80211_ie_build_ht_oper(pos, ht_cap, channel, channel_type,
+ sdata->vif.bss_conf.ht_operation_mode);
return 0;
}
OpenPOWER on IntegriCloud