summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_sta.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-06-11 04:43:42 +0000
committersam <sam@FreeBSD.org>2009-06-11 04:43:42 +0000
commitb54b6d28ba346049e8588efb971a081f0111bcab (patch)
tree0818e1e151ad8935a44d21ea2010d56e515f2113 /sys/net80211/ieee80211_sta.c
parent1ff58b569863e1539ec3fd6e87588b27d7f0d181 (diff)
downloadFreeBSD-src-b54b6d28ba346049e8588efb971a081f0111bcab.zip
FreeBSD-src-b54b6d28ba346049e8588efb971a081f0111bcab.tar.gz
When associating to an AP we don't know if HT is negotiated until
we receive the AssocResp, so we can only set ni_txparms properly at that point. To make this possible make node_setuptxparms public as ieee80211_node_setuptxparms.
Diffstat (limited to 'sys/net80211/ieee80211_sta.c')
-rw-r--r--sys/net80211/ieee80211_sta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c
index 7675cc6..3b0c13b 100644
--- a/sys/net80211/ieee80211_sta.c
+++ b/sys/net80211/ieee80211_sta.c
@@ -1594,6 +1594,7 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
ieee80211_setup_htrates(ni, htcap,
IEEE80211_F_JOIN | IEEE80211_F_DOBRS);
ieee80211_setup_basic_htrates(ni, htinfo);
+ ieee80211_node_setuptxparms(ni);
} else {
#ifdef IEEE80211_SUPPORT_SUPERG
if (IEEE80211_ATH_CAP(vap, ni, IEEE80211_NODE_ATH))
OpenPOWER on IntegriCloud