diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-11 03:14:11 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:24 -0400 |
commit | 687c7c0807371aeaa94ff2fff511eeb326b5c5de (patch) | |
tree | 5f1a51d7f42dba9718ab7286768a5d3c7a4b4b34 /net/mac80211/cfg.c | |
parent | ae17e986091637e7ef5a8224c7b689029b105131 (diff) | |
download | linux-3.10-687c7c0807371aeaa94ff2fff511eeb326b5c5de.tar.gz linux-3.10-687c7c0807371aeaa94ff2fff511eeb326b5c5de.tar.bz2 linux-3.10-687c7c0807371aeaa94ff2fff511eeb326b5c5de.zip |
mac80211: share sta_info->ht_info
Rate control algorithms may need access to a station's
HT capabilities, so share the ht_info struct in the
public station API.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 47988d2eb15..e2574885db4 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -672,7 +672,7 @@ static void sta_apply_parameters(struct ieee80211_local *local, if (params->ht_capa) { ieee80211_ht_cap_ie_to_ht_info(params->ht_capa, - &sta->ht_info); + &sta->sta.ht_info); } if (ieee80211_vif_is_mesh(&sdata->vif) && params->plink_action) { |