diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-05-01 01:20:29 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-09 05:53:57 +0400 |
commit | 431e31542383b71bc5f2642572a1e6ef07f1bb87 (patch) | |
tree | 39d2cbc1b9e4321b27b6938034de67c4dedcdf9f /net/mac80211/mesh.c | |
parent | ef9456a85dabe2222a4cb80fe8eef6361170c55d (diff) | |
download | linux-431e31542383b71bc5f2642572a1e6ef07f1bb87.tar.xz |
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.c | 3 |
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; } |