From e66b0905fc81ab66d296392aeb0e40dfa2fef82e Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Mon, 27 Oct 2008 16:46:50 +0000 Subject: 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 --- sys/dev/ath/if_ath.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/dev/ath') diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 4a4395c64e72..b4a8dd880b4e 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -5721,10 +5721,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 -- cgit v1.3