summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-05-28 23:18:17 +0000
committersam <sam@FreeBSD.org>2008-05-28 23:18:17 +0000
commit74db96e06d6afcb18f1b74dd9e57a419cd260f85 (patch)
treeb7d3333fd429c06dc64b50ecd9a663f613f03e32 /sys/net80211
parent7c9c77d9fb48f254655ce890baf1c794f8757778 (diff)
downloadFreeBSD-src-74db96e06d6afcb18f1b74dd9e57a419cd260f85.zip
FreeBSD-src-74db96e06d6afcb18f1b74dd9e57a419cd260f85.tar.gz
Don't override the txpower cap installed by ieee80211_alloc_node;
we use ic_txpowlimit (for now) to initialize all new sta entries.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_node.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index 82da36a..cd50379 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1010,7 +1010,6 @@ ieee80211_tmp_node(struct ieee80211vap *vap,
ieee80211_node_initref(ni); /* mark referenced */
/* NB: required by ieee80211_fix_rate */
ieee80211_node_set_chan(ni, vap->iv_bss->ni_chan);
- ni->ni_txpower = vap->iv_bss->ni_txpower;
ieee80211_crypto_resetkey(vap, &ni->ni_ucastkey,
IEEE80211_KEYIX_NONE);
/* XXX optimize away */
@@ -1036,7 +1035,6 @@ ieee80211_dup_bss(struct ieee80211vap *vap,
* Inherit from iv_bss.
*/
ni->ni_authmode = vap->iv_bss->ni_authmode;
- ni->ni_txpower = vap->iv_bss->ni_txpower;
ni->ni_vlan = vap->iv_bss->ni_vlan; /* XXX?? */
IEEE80211_ADDR_COPY(ni->ni_bssid, vap->iv_bss->ni_bssid);
ieee80211_node_set_chan(ni, vap->iv_bss->ni_chan);
@@ -1067,7 +1065,6 @@ ieee80211_node_create_wds(struct ieee80211vap *vap,
* Inherit any manually configured settings.
*/
ni->ni_authmode = vap->iv_bss->ni_authmode;
- ni->ni_txpower = vap->iv_bss->ni_txpower;
ni->ni_vlan = vap->iv_bss->ni_vlan;
ieee80211_node_set_chan(ni, chan);
/* NB: propagate ssid so available to WPA supplicant */
OpenPOWER on IntegriCloud