summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-27 16:46:50 +0000
committersam <sam@FreeBSD.org>2008-10-27 16:46:50 +0000
commit94d731286108656a0c968d4d198895895a0ff1bf (patch)
tree3ce19da60bdf6db3713c58b48e39561d4276c21a /sys/dev/ath
parent306c95be6d13324c52b48ea783e821dcb4926ddc (diff)
downloadFreeBSD-src-94d731286108656a0c968d4d198895895a0ff1bf.zip
FreeBSD-src-94d731286108656a0c968d4d198895895a0ff1bf.tar.gz
o use the new association callback to notify the driver when joining a bss
in sta and adhoc modes; this should've been done forever ago as most all drivers use this hook to set per-station transmit parameters such as for tx rate control o adjust drivers to remove explicit calls to the driver newassoc method
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 4a4395c..b4a8dd8 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5722,10 +5722,6 @@ ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
break;
case IEEE80211_M_STA:
/*
- * Fakeup since we're not called by net80211.
- */
- ath_newassoc(ni, 1);
- /*
* Defer beacon timer configuration to the next
* beacon frame so we have a current TSF to use
* (any TSF collected when scanning is likely old).
OpenPOWER on IntegriCloud