summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_plink.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-11-28 19:21:10 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-28 19:21:10 -0500
commit8317e2047ef7d70dd76bf1d571fecaa8d4deb06f (patch)
treec400a600a4eb00da224b4e59e76396655e853d07 /net/mac80211/mesh_plink.c
parent2c55a3d08ade44a778c182c220a7907ec65d5fb8 (diff)
parent39338b56382ac640614851a80e0bd71994cc664d (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
Diffstat (limited to 'net/mac80211/mesh_plink.c')
-rw-r--r--net/mac80211/mesh_plink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index 0140e88a8220..7314372b12ba 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -101,7 +101,8 @@ static struct sta_info *mesh_plink_alloc(struct ieee80211_sub_if_data *sdata,
set_sta_flag(sta, WLAN_STA_WME);
sta->sta.supp_rates[local->hw.conf.channel->band] = rates;
if (elems->ht_cap_elem)
- ieee80211_ht_cap_ie_to_sta_ht_cap(sband, elems->ht_cap_elem,
+ ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
+ elems->ht_cap_elem,
&sta->sta.ht_cap);
rate_control_rate_init(sta);